automatic version update by autodist [release 3.8.0-1mamba;Mon Apr 25 2022]

This commit is contained in:
Automatic Build System 2024-01-06 08:27:05 +01:00
parent 1c52873be6
commit c153f12cd7

View File

@ -1,26 +1,26 @@
%define libmajver %(echo %version | cut -d. -f1)
Name: pciutils
Version: 3.7.0
Version: 3.8.0
Release: 1mamba
Summary: A library for portable access to PCI bus configuration space
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
URL: https://mj.ucw.cz/sw/pciutils/
Source: https://www.kernel.org/pub/software/utils/pciutils/pciutils-%{version}.tar.xz
Patch1: %{name}-3.1.0-pcimodules.patch
Patch2: %{name}-3.1.2-pcimodules.patch
Patch3: %{name}-2.2.1-idpath.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: bash
BuildRequires: glibc-devel
BuildRequires: libkmod-devel
BuildRequires: libudev-devel
## AUTOBUILDREQ-END
Requires: libpci = %{version}-%{release}
Requires: hwdata
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The PCI Utilities package contains a library for portable access to PCI bus configuration space and several utilities based on this library.
@ -42,7 +42,7 @@ A library for inspecting and setting devices connected to the PCI bus.
Summary: Linux PCI development library
Group: Development/Libraries
Requires: libpci = %{version}-%{release}
Obsoletes: %{name}-devel
Obsoletes: %{name}-devel < 3.8.0
%description -n libpci-devel
A library for inspecting and setting devices connected to the PCI bus.
@ -110,8 +110,8 @@ ln -s libpci.so.%{version} %{buildroot}%{_libdir}/libpci.so
ln -s libpci.so.%{version} %{buildroot}%{_libdir}/libpci.so.%{libmajver}
chmod +x %{buildroot}%{_libdir}/libpci.so.*
install -d %{buildroot}%{_bindir}
ln -s ../sbin/lspci %{buildroot}%{_bindir}/lspci
#install -d %{buildroot}%{_bindir}
#ln -s ../sbin/lspci %{buildroot}%{_bindir}/lspci
rm -rf %{buildroot}%{_datadir}/hwdata
@ -121,7 +121,7 @@ rm -rf %{buildroot}%{_datadir}/hwdata
%files
%defattr(-,root,root)
%{_bindir}/lspci
%{_sbindir}/lspci
#%{_sbindir}/lspci
#%{_sbindir}/pcimodules
%{_sbindir}/setpci
%{_sbindir}/update-pciids
@ -144,6 +144,9 @@ rm -rf %{buildroot}%{_datadir}/hwdata
%doc README ChangeLog pciutils.lsm
%changelog
* Mon Apr 25 2022 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Mon Jun 08 2020 Automatic Build System <autodist@mambasoft.it> 3.7.0-1mamba
- automatic version update by autodist