SHA256
1
0
forked from pool/pciutils
OBS User unknown 2008-04-10 22:25:24 +00:00 committed by Git OBS Bridge
parent 79b5c30a68
commit 2bf185f90e
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 11 00:07:33 CEST 2008 - mrueckert@suse.de
- if we no longer provide the static lib we should at least provide
the symlink to link against libpci
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 10 21:36:17 CEST 2008 - anicka@suse.cz Thu Apr 10 21:36:17 CEST 2008 - anicka@suse.cz

View File

@ -14,7 +14,7 @@
Name: pciutils Name: pciutils
BuildRequires: zlib-devel BuildRequires: zlib-devel
Version: 3.0.0 Version: 3.0.0
Release: 1 Release: 2
Requires: pciutils-ids Requires: pciutils-ids
AutoReqProv: on AutoReqProv: on
Group: Hardware/Other Group: Hardware/Other
@ -47,7 +47,7 @@ License: GPL v2 or later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Summary: Static Library and Include Files of the PCI-utilities Summary: Static Library and Include Files of the PCI-utilities
# As we only package a static library we need zlib-devel for final linking # As we only package a static library we need zlib-devel for final linking
Requires: zlib-devel Requires: zlib-devel %{name} = %{version}
%description devel %description devel
This package contains the files that are necessary for software This package contains the files that are necessary for software
@ -73,6 +73,7 @@ make install PREFIX=$RPM_BUILD_ROOT%{_prefix} SBINDIR=$RPM_BUILD_ROOT/sbin \
mkdir -p $RPM_BUILD_ROOT%{_includedir}/pci mkdir -p $RPM_BUILD_ROOT%{_includedir}/pci
cp -p lib/{pci,header,config,types}.h $RPM_BUILD_ROOT%{_includedir}/pci/ cp -p lib/{pci,header,config,types}.h $RPM_BUILD_ROOT%{_includedir}/pci/
rm -rf $RPM_BUILD_ROOT%{_datadir}/pci.ids* rm -rf $RPM_BUILD_ROOT%{_datadir}/pci.ids*
ln -sf libpci.so.3 %{buildroot}%{_libdir}/libpci.so
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -85,14 +86,18 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-, root, root) %defattr(-, root, root)
%doc README %doc README
%doc %{_mandir}/man?/* %doc %{_mandir}/man?/*
%{_libdir}/*.so* %{_libdir}/*.so.*
/sbin/* /sbin/*
%files devel %files devel
%defattr(-, root, root) %defattr(-, root, root)
%{_includedir}/pci/ %{_includedir}/pci/
%{_libdir}/*.so
%changelog %changelog
* Fri Apr 11 2008 mrueckert@suse.de
- if we no longer provide the static lib we should at least provide
the symlink to link against libpci
* Thu Apr 10 2008 anicka@suse.cz * Thu Apr 10 2008 anicka@suse.cz
- update to 3.0.0 - update to 3.0.0
* The makefile system has been reworked. All configuration * The makefile system has been reworked. All configuration