33
33
34
34
Name: %{product_name }
35
35
Version: %{build_version }
36
- Release: 1
36
+ Release: 1%{? dist }
37
37
Summary: API for development of IXPDIMM management utilities
38
38
License: BSD-3-Clause
39
39
Group: System/Daemons
@@ -51,6 +51,9 @@ BuildRequires: python
51
51
BuildRequires: cmake
52
52
BuildRequires: gettext
53
53
BuildRequires: groff
54
+ BuildRequires: libinvm-cli-devel
55
+ BuildRequires: libinvm-cim-devel
56
+ BuildRequires: libinvm-i18n-devel
54
57
55
58
ExclusiveArch: x86_64
56
59
@@ -96,7 +99,6 @@ developing applications that use %{name}.
96
99
%package -n %{cimlibs }
97
100
Summary: CIM provider for %{name }
98
101
Group: System/Libraries
99
- Requires: %{apiname }
100
102
Requires: libinvm-cim2 >= 01.01
101
103
Requires: pywbem
102
104
Requires(post): pywbem
@@ -132,7 +134,6 @@ capacity provisioning, health monitoring, and troubleshooting.
132
134
%package -n %{clilibname }
133
135
Summary: CLI for managment of %{product_name }
134
136
Group: System/Management
135
- Requires: %{cimlibs }
136
137
Requires: libinvm-cli2 >= 01.01
137
138
Requires: libinvm-cim2 >= 01.01
138
139
Requires: libinvm-i18n2 >= 01.01
@@ -147,7 +148,7 @@ capacity provisioning, health monitoring, and troubleshooting.
147
148
148
149
%build
149
150
%cmake -DBUILDNUM=%{version } -DCMAKE_INSTALL_PREFIX=/usr -DRELEASE=ON \
150
- -DRPM_BUILD=ON -DLINUX_PRODUCT_NAME=%{name } -DRPM_ROOT=%{ buildroot } \
151
+ -DRPM_BUILD=ON -DLINUX_PRODUCT_NAME=%{name } \
151
152
-DCMAKE_INSTALL_LIBDIR=%{_libdir } \
152
153
-DCMAKE_INSTALL_INCLUDEDIR=%{_includedir } \
153
154
-DCMAKE_INSTALL_BINDIR=%{_bindir } \
0 commit comments