|
@@ -1,3 +1,9 @@
|
|
1
|
+%if ( 0%{?rhel} && 0%{?rhel} < 7 ) || ( 0%{?centos} && 0%{?centos} < 7 )
|
|
2
|
+%global pspkg procps
|
|
3
|
+%else
|
|
4
|
+%global pspkg procps-ng
|
|
5
|
+%endif
|
|
6
|
+
|
1
|
7
|
Name: __MKIT_PROJ_PKGNAME__
|
2
|
8
|
Version: __MKIT_PROJ_VERSION__
|
3
|
9
|
Release: 1%{?dist}
|
|
@@ -6,13 +12,6 @@ License: LGPLv2
|
6
|
12
|
URL: __MKIT_PROJ_VCS_BROWSER__
|
7
|
13
|
Source0: %{name}-%{version}.tar.gz
|
8
|
14
|
BuildArch: noarch
|
9
|
|
-
|
10
|
|
-%if ( 0%{?rhel} && 0%{?rhel} < 7 ) || ( 0%{?centos} && 0%{?centos} < 7 )
|
11
|
|
-%define pspkg procps
|
12
|
|
-%else
|
13
|
|
-%define pspkg procps-ng
|
14
|
|
-%endif
|
15
|
|
-
|
16
|
15
|
BuildRequires: perl
|
17
|
16
|
BuildRequires: %{pspkg}
|
18
|
17
|
|