3.6.3, spec cleanups, use %%license, use kernel.org download
This commit is contained in:
parent
eda4807ba0
commit
01db5e4491
1
.gitignore
vendored
1
.gitignore
vendored
@ -18,3 +18,4 @@ pciutils-3.1.6.tar.gz
|
|||||||
/pciutils-3.6.0.tar.gz
|
/pciutils-3.6.0.tar.gz
|
||||||
/pciutils-3.6.1.tar.gz
|
/pciutils-3.6.1.tar.gz
|
||||||
/pciutils-3.6.2.tar.gz
|
/pciutils-3.6.2.tar.gz
|
||||||
|
/pciutils-3.6.3.tar.xz
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
Name: pciutils
|
Name: pciutils
|
||||||
Version: 3.6.2
|
Version: 3.6.3
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Source: ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
|
Summary: PCI bus related utilities
|
||||||
Source1: multilibconfigh
|
License: GPLv2+
|
||||||
|
URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
|
||||||
|
|
||||||
|
Source: https://mirrors.edge.kernel.org/pub/software/utils/pciutils/%{name}-%{version}.tar.xz
|
||||||
|
Source1: multilibconfigh
|
||||||
|
|
||||||
#change pci.ids directory to hwdata, fedora/rhel specific
|
#change pci.ids directory to hwdata, fedora/rhel specific
|
||||||
Patch1: pciutils-2.2.1-idpath.patch
|
Patch1: pciutils-2.2.1-idpath.patch
|
||||||
@ -10,13 +14,9 @@ Patch1: pciutils-2.2.1-idpath.patch
|
|||||||
#add support for directory with another pci.ids, rejected by upstream, rhbz#195327
|
#add support for directory with another pci.ids, rejected by upstream, rhbz#195327
|
||||||
Patch2: pciutils-dir-d.patch
|
Patch2: pciutils-dir-d.patch
|
||||||
|
|
||||||
License: GPLv2+
|
|
||||||
URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
|
|
||||||
ExclusiveOS: Linux
|
|
||||||
Requires: hwdata
|
Requires: hwdata
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
BuildRequires: gcc sed kmod-devel
|
BuildRequires: gcc sed kmod-devel
|
||||||
Summary: PCI bus related utilities
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The pciutils package contains various utilities for inspecting and
|
The pciutils package contains various utilities for inspecting and
|
||||||
@ -46,9 +46,7 @@ This package contains a static library for inspecting and setting
|
|||||||
devices connected to the PCI bus.
|
devices connected to the PCI bus.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pciutils-%{version}
|
%autosetup -p1
|
||||||
%patch1 -p1 -b .idpath
|
|
||||||
%patch2 -p1 -b .dird
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make SHARED="no" ZLIB="no" LIBKMOD=yes STRIP="" OPT="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" PREFIX="/usr" IDSDIR="/usr/share/hwdata" PCI_IDS="pci.ids" %{?_smp_mflags}
|
make SHARED="no" ZLIB="no" LIBKMOD=yes STRIP="" OPT="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" PREFIX="/usr" IDSDIR="/usr/share/hwdata" PCI_IDS="pci.ids" %{?_smp_mflags}
|
||||||
@ -63,8 +61,6 @@ sed -i "s|^libdir=.*$|libdir=/%{_lib}|" lib/libpci.pc
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
install -d $RPM_BUILD_ROOT/{sbin,%{_sbindir},%{_lib},%{_mandir}/man8,%{_libdir},%{_libdir}/pkgconfig,%{_includedir}/pci}
|
install -d $RPM_BUILD_ROOT/{sbin,%{_sbindir},%{_lib},%{_mandir}/man8,%{_libdir},%{_libdir}/pkgconfig,%{_includedir}/pci}
|
||||||
|
|
||||||
install -p lspci setpci $RPM_BUILD_ROOT/sbin
|
install -p lspci setpci $RPM_BUILD_ROOT/sbin
|
||||||
@ -86,14 +82,14 @@ install -p lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
|
|||||||
%ldconfig_scriptlets libs
|
%ldconfig_scriptlets libs
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README ChangeLog pciutils.lsm COPYING
|
%doc README ChangeLog pciutils.lsm
|
||||||
/sbin/lspci
|
/sbin/lspci
|
||||||
/sbin/setpci
|
/sbin/setpci
|
||||||
%{_sbindir}/update-pciids
|
%{_sbindir}/update-pciids
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%doc COPYING
|
%license COPYING
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/%{_lib}/libpci.so.*
|
/%{_lib}/libpci.so.*
|
||||||
|
|
||||||
@ -106,6 +102,10 @@ install -p lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
|
|||||||
%{_includedir}/pci
|
%{_includedir}/pci
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 22 2020 Peter Robinson <pbrobinson@fedoraproject.org> 3.6.3-1
|
||||||
|
- pciutils updated to 3.6.3
|
||||||
|
- spec cleanups, use %%license, use kernel.org download
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.2-3
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.2-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (pciutils-3.6.2.tar.gz) = ab2bab26dd11f941286593135b751b811fa6199d4b5fb8a18e74f72709ea598ab0c0efa31ad6ca70949966dcf80cdfb16d53e5d339b773c69e0a12f132bb8577
|
SHA512 (pciutils-3.6.3.tar.xz) = c6910955053142db426093451880a19abb1ef04e259b848d978b3825999afad7dbae2a5ac0f7dd386496e7b995b671e945bc8dc11625e7985f0a7219a6e1a649
|
||||||
|
Loading…
Reference in New Issue
Block a user