SHA256
1
0
forked from pool/pciutils

Accepting request 976583 from home:gmbr3:Active

- Make shared library executable

OBS-URL: https://build.opensuse.org/request/show/976583
OBS-URL: https://build.opensuse.org/package/show/Base:System/pciutils?expand=0&rev=84
This commit is contained in:
Peter Simons 2022-05-12 10:02:38 +00:00 committed by Git OBS Bridge
parent 697120b3c8
commit 7d4503adc6
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 12 09:47:28 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
- Make shared library executable
-------------------------------------------------------------------
Thu Apr 21 07:08:48 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -15,8 +15,8 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define lname libpci3
%define sover 3
%define lname libpci%{sover}
Name: pciutils
Version: 3.8.0
Release: 0
@ -82,6 +82,7 @@ development using the PCI utilities.
make install PREFIX=%{buildroot}%{_prefix} SBINDIR=%{buildroot}%{_bindir} \
ROOT=%{buildroot} MANDIR=%{buildroot}%{_mandir} STRIP="" \
SHARED="yes" LIBDIR=%{buildroot}%{_libdir}
chmod 0755 %{buildroot}%{_libdir}/libpci.so.%{sover}
mkdir -p %{buildroot}%{_includedir}/pci
cp -p lib/{pci,header,config,types}.h %{buildroot}%{_includedir}/pci
rm -rf %{buildroot}%{_datadir}/pci.ids*