SHA256
1
0
forked from pool/ipmctl

Fixup spec-file issues...

OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ipmctl?expand=0&rev=3
This commit is contained in:
Raymund Will 2018-06-22 15:00:46 +00:00 committed by Git OBS Bridge
parent 8bb8791554
commit 3f276360b8

View File

@ -1,4 +1,4 @@
%define _unpackaged_files_terminate_build 0
%define _unpackaged_files_terminate_build 1
Name: ipmctl
Version: 01.00.00.3091
@ -86,6 +86,8 @@ make -f Makefile %{?_smp_mflags}
%install
%{!?_cmake_version: cd build}
make -f Makefile install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_sbindir}
ln -sf service %{buildroot}%{_sbindir}/rcipmctl-monitor
%post -n libipmctl2 -p /sbin/ldconfig
@ -105,15 +107,19 @@ make -f Makefile install DESTDIR=%{buildroot}
%files -n ipmctl
%defattr(-,root,root)
%license LICENSE
%{_bindir}/ipmctl
%files -n ipmctl-monitor
%defattr(-,root,root)
%license LICENSE
%{_bindir}/ipmctl-monitor
%{_sbindir}/rcipmctl-monitor
%{_unitdir}/ipmctl-monitor.service
%files -n libipmctl2
%defattr(-,root,root)
%license LICENSE
%{_libdir}/libipmctl.so.*
%dir %{_datadir}/doc/ipmctl
%doc %{_datadir}/doc/ipmctl/ipmctl_default.conf
@ -122,6 +128,7 @@ make -f Makefile install DESTDIR=%{buildroot}
%files -n libipmctl-devel
%defattr(-,root,root)
%doc README.md
%{_libdir}/libipmctl.so
%attr(644,root,root) %{_includedir}/nvm_types.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
%changelog
* Wed May 02 2018 Juston Li <juston.li@intel.com> - 01.00.00.3000
- initial spec