Fixup spec-file issues...
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ipmctl?expand=0&rev=3
This commit is contained in:
parent
8bb8791554
commit
3f276360b8
11
ipmctl.spec
11
ipmctl.spec
@ -1,4 +1,4 @@
|
|||||||
%define _unpackaged_files_terminate_build 0
|
%define _unpackaged_files_terminate_build 1
|
||||||
|
|
||||||
Name: ipmctl
|
Name: ipmctl
|
||||||
Version: 01.00.00.3091
|
Version: 01.00.00.3091
|
||||||
@ -86,6 +86,8 @@ make -f Makefile %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
%{!?_cmake_version: cd build}
|
%{!?_cmake_version: cd build}
|
||||||
make -f Makefile install DESTDIR=%{buildroot}
|
make -f Makefile install DESTDIR=%{buildroot}
|
||||||
|
mkdir -p %{buildroot}%{_sbindir}
|
||||||
|
ln -sf service %{buildroot}%{_sbindir}/rcipmctl-monitor
|
||||||
|
|
||||||
%post -n libipmctl2 -p /sbin/ldconfig
|
%post -n libipmctl2 -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -105,15 +107,19 @@ make -f Makefile install DESTDIR=%{buildroot}
|
|||||||
|
|
||||||
%files -n ipmctl
|
%files -n ipmctl
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%license LICENSE
|
||||||
%{_bindir}/ipmctl
|
%{_bindir}/ipmctl
|
||||||
|
|
||||||
%files -n ipmctl-monitor
|
%files -n ipmctl-monitor
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%license LICENSE
|
||||||
%{_bindir}/ipmctl-monitor
|
%{_bindir}/ipmctl-monitor
|
||||||
|
%{_sbindir}/rcipmctl-monitor
|
||||||
%{_unitdir}/ipmctl-monitor.service
|
%{_unitdir}/ipmctl-monitor.service
|
||||||
|
|
||||||
%files -n libipmctl2
|
%files -n libipmctl2
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%license LICENSE
|
||||||
%{_libdir}/libipmctl.so.*
|
%{_libdir}/libipmctl.so.*
|
||||||
%dir %{_datadir}/doc/ipmctl
|
%dir %{_datadir}/doc/ipmctl
|
||||||
%doc %{_datadir}/doc/ipmctl/ipmctl_default.conf
|
%doc %{_datadir}/doc/ipmctl/ipmctl_default.conf
|
||||||
@ -122,6 +128,7 @@ make -f Makefile install DESTDIR=%{buildroot}
|
|||||||
|
|
||||||
%files -n libipmctl-devel
|
%files -n libipmctl-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc README.md
|
||||||
%{_libdir}/libipmctl.so
|
%{_libdir}/libipmctl.so
|
||||||
%attr(644,root,root) %{_includedir}/nvm_types.h
|
%attr(644,root,root) %{_includedir}/nvm_types.h
|
||||||
%attr(644,root,root) %{_includedir}/nvm_management.h
|
%attr(644,root,root) %{_includedir}/nvm_management.h
|
||||||
@ -129,5 +136,3 @@ make -f Makefile install DESTDIR=%{buildroot}
|
|||||||
%attr(644,root,root) %{_includedir}/NvmStatusValues.h
|
%attr(644,root,root) %{_includedir}/NvmStatusValues.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed May 02 2018 Juston Li <juston.li@intel.com> - 01.00.00.3000
|
|
||||||
- initial spec
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user