fix libpci.so.* executable permissions [release 3.6.4-2mamba;Sat Mar 21 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 08:27:05 +01:00
parent 336b8008e7
commit bcd4298701

View File

@ -1,15 +1,15 @@
%define libmajver %(echo %version | cut -d. -f1) %define libmajver %(echo %version | cut -d. -f1)
Name: pciutils Name: pciutils
Version: 3.6.2 Version: 3.6.4
Release: 1mamba Release: 2mamba
Summary: A library for portable access to PCI bus configuration space Summary: A library for portable access to PCI bus configuration space
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
Source: ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz Source: https://www.kernel.org/pub/software/utils/pciutils/pciutils-%{version}.tar.xz
Patch1: %{name}-3.1.0-pcimodules.patch Patch1: %{name}-3.1.0-pcimodules.patch
Patch2: %{name}-3.1.2-pcimodules.patch Patch2: %{name}-3.1.2-pcimodules.patch
Patch3: %{name}-2.2.1-idpath.patch Patch3: %{name}-2.2.1-idpath.patch
@ -108,6 +108,8 @@ make clean
install lib/libpci.a.toinstall %{buildroot}%{_libdir}/libpci.a install lib/libpci.a.toinstall %{buildroot}%{_libdir}/libpci.a
ln -s libpci.so.%{version} %{buildroot}%{_libdir}/libpci.so ln -s libpci.so.%{version} %{buildroot}%{_libdir}/libpci.so
ln -s libpci.so.%{version} %{buildroot}%{_libdir}/libpci.so.%{libmajver} ln -s libpci.so.%{version} %{buildroot}%{_libdir}/libpci.so.%{libmajver}
chmod +x %{buildroot}%{_libdir}/libpci.so.*
install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_bindir}
ln -s ../sbin/lspci %{buildroot}%{_bindir}/lspci ln -s ../sbin/lspci %{buildroot}%{_bindir}/lspci
@ -123,6 +125,7 @@ rm -rf %{buildroot}%{_datadir}/hwdata
#%{_sbindir}/pcimodules #%{_sbindir}/pcimodules
%{_sbindir}/setpci %{_sbindir}/setpci
%{_sbindir}/update-pciids %{_sbindir}/update-pciids
%{_mandir}/man5/pci.ids.5*
%{_mandir}/man7/pcilib.* %{_mandir}/man7/pcilib.*
%{_mandir}/man8/* %{_mandir}/man8/*
@ -141,6 +144,12 @@ rm -rf %{buildroot}%{_datadir}/hwdata
%doc README ChangeLog pciutils.lsm %doc README ChangeLog pciutils.lsm
%changelog %changelog
* Sat Mar 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.4-2mamba
- fix libpci.so.* executable permissions
* Fri Mar 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.4-1mamba
- update to 3.6.4
* Wed Nov 21 2018 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba * Wed Nov 21 2018 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
- automatic version update by autodist - automatic version update by autodist
@ -246,7 +255,7 @@ rm -rf %{buildroot}%{_datadir}/hwdata
* Tue Sep 27 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.2.0-1qilnx * Tue Sep 27 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.2.0-1qilnx
- update to version 2.2.0 by autospec - update to version 2.2.0 by autospec
* Mon Jul 02 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.1.11-2qilnx * Wed Jul 02 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.1.11-2qilnx
- added PCI-modules patch for hotplug - added PCI-modules patch for hotplug
* Mon Jun 23 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.1.11-1qilnx * Mon Jun 23 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.1.11-1qilnx