From 2bf185f90ed603e68eae3e7e5b61d10597b4a5dc8452396d4a088fd81d2c751b Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 10 Apr 2008 22:25:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pciutils?expand=0&rev=13 --- pciutils.changes | 6 ++++++ pciutils.spec | 11 ++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/pciutils.changes b/pciutils.changes index b4851b1..518ef58 100644 --- a/pciutils.changes +++ b/pciutils.changes @@ -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 diff --git a/pciutils.spec b/pciutils.spec index cd6ec8b..2dab353 100644 --- a/pciutils.spec +++ b/pciutils.spec @@ -14,7 +14,7 @@ Name: pciutils BuildRequires: zlib-devel Version: 3.0.0 -Release: 1 +Release: 2 Requires: pciutils-ids AutoReqProv: on Group: Hardware/Other @@ -47,7 +47,7 @@ License: GPL v2 or later Group: Development/Libraries/C and C++ Summary: Static Library and Include Files of the PCI-utilities # As we only package a static library we need zlib-devel for final linking -Requires: zlib-devel +Requires: zlib-devel %{name} = %{version} %description devel 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 cp -p lib/{pci,header,config,types}.h $RPM_BUILD_ROOT%{_includedir}/pci/ rm -rf $RPM_BUILD_ROOT%{_datadir}/pci.ids* +ln -sf libpci.so.3 %{buildroot}%{_libdir}/libpci.so %clean rm -rf $RPM_BUILD_ROOT @@ -85,14 +86,18 @@ rm -rf $RPM_BUILD_ROOT %defattr(-, root, root) %doc README %doc %{_mandir}/man?/* -%{_libdir}/*.so* +%{_libdir}/*.so.* /sbin/* %files devel %defattr(-, root, root) %{_includedir}/pci/ +%{_libdir}/*.so %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 - update to 3.0.0 * The makefile system has been reworked. All configuration