- spec cleanup
This commit is contained in:
parent
2c3bd818c7
commit
182438d18c
@ -1,6 +1,6 @@
|
||||
Name: pciutils
|
||||
Version: 3.1.4
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Source: ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
|
||||
|
||||
#truncate too long names (#205948)
|
||||
@ -106,7 +106,7 @@ install -p lib/libpci.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
|
||||
ln -s $(basename $RPM_BUILD_ROOT%{_libdir}/*.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libpci.so
|
||||
|
||||
mv lib/libpci.a.toinstall lib/libpci.a
|
||||
install -p lib/libpci.a $RPM_BUILD_ROOT%{_libdir}
|
||||
install -p -m 644 lib/libpci.a $RPM_BUILD_ROOT%{_libdir}
|
||||
/sbin/ldconfig -N $RPM_BUILD_ROOT%{_libdir}
|
||||
install -p lib/pci.h $RPM_BUILD_ROOT%{_includedir}/pci
|
||||
install -p lib/header.h $RPM_BUILD_ROOT%{_includedir}/pci
|
||||
@ -120,14 +120,16 @@ install -p lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
|
||||
|
||||
%files
|
||||
%defattr(0644, root, root, 0755)
|
||||
%doc README ChangeLog pciutils.lsm COPYING
|
||||
%{_mandir}/man8/*
|
||||
%attr(0755, root, root) /sbin/*
|
||||
%doc README ChangeLog pciutils.lsm COPYING
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libpci.so.*
|
||||
|
||||
%files devel-static
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libpci.a
|
||||
|
||||
%files devel
|
||||
@ -140,6 +142,9 @@ install -p lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Mon Nov 02 2009 Michal Hlavinka <mhlavink@redhat.com> - 3.1.4-6
|
||||
- spec cleanup
|
||||
|
||||
* Mon Oct 26 2009 Michal Hlavinka <mhlavink@redhat.com> - 3.1.4-5
|
||||
- fix build to enable -F option (#531020)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user