|
|
|
@ -5,15 +5,15 @@
|
|
|
|
|
%global pypi_name ethtool
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
|
Version: 0.14
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.15
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Python module to interface with %{pypi_name}
|
|
|
|
|
|
|
|
|
|
License: GPLv2
|
|
|
|
|
URL: https://github.com/fedora-python/%{name}
|
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/e/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
|
|
Patch0: 0001-Fix-issue-when-interface-has-no-IPv4-address-assigne.patch
|
|
|
|
|
Patch1: 0002-Allow-pifconfig-script-to-show-multiple-IPv4-address.patch
|
|
|
|
|
Source0: %{pypi_source}
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
@ -37,7 +37,7 @@ PCI locations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
|
|
%autosetup -n %{pypi_name}-%{version}
|
|
|
|
|
# Remove bundled egg-info
|
|
|
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
|
|
|
|
|
@ -55,8 +55,7 @@ mv %{buildroot}{%{_bindir},%{_sbindir}}/pifconfig
|
|
|
|
|
mv %{buildroot}{%{_bindir},%{_sbindir}}/pethtool
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man8/
|
|
|
|
|
%{__gzip} -c man/pethtool.8 > %{buildroot}%{_mandir}/man8/pethtool.8.gz
|
|
|
|
|
%{__gzip} -c man/pifconfig.8 > %{buildroot}%{_mandir}/man8/pifconfig.8.gz
|
|
|
|
|
cp -p man/*.8 %{buildroot}%{_mandir}/man8/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
@ -74,37 +73,56 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch}
|
|
|
|
|
%{_sbindir}/pethtool
|
|
|
|
|
%doc %{_mandir}/man8/*
|
|
|
|
|
%{python3_sitearch}/%{pypi_name}.cpython-%{python3_version_nodots}*.so
|
|
|
|
|
%{python3_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info
|
|
|
|
|
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 0.14-5
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Mon Feb 07 2022 John Kacur <jkacur@redhat.com> - 0.15-5
|
|
|
|
|
- Add functional test to python-ethtool
|
|
|
|
|
- Resolves: rhbz#2051609
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 John Kacur <jkacur@redhat.com> - 0.14-4
|
|
|
|
|
- Rebuild for rhel-8.6, no functional change
|
|
|
|
|
- Resolves: rhbz#2042222
|
|
|
|
|
|
|
|
|
|
* Sat Dec 08 2018 Lumír Balhar <lbalhar@redhat.com> - 0.14-3
|
|
|
|
|
- Backport patch from upstream/rhel7 which allows pifconfig to show
|
|
|
|
|
multiple IPv4 addresses for each interface
|
|
|
|
|
- Move patches to dist-git
|
|
|
|
|
- Resolves: rhbz#1652174
|
|
|
|
|
|
|
|
|
|
* Thu Nov 08 2018 Lumír Balhar <lbalhar@redhat.com> - 0.14-2
|
|
|
|
|
- Backport upstream bugfix patch
|
|
|
|
|
- Resolves: rhbz#1637918
|
|
|
|
|
|
|
|
|
|
* Mon Sep 17 2018 Lumír Balhar <lbalhar@redhat.com> - 0.14-1
|
|
|
|
|
- New upstream version
|
|
|
|
|
- Resolves: rhbz#1606952
|
|
|
|
|
|
|
|
|
|
* Tue Jun 05 2018 Petr Viktorin <pviktori@redhat.com> - 0.13-5
|
|
|
|
|
- Remove the Python 2 version
|
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1567419
|
|
|
|
|
* Thu Jan 13 2022 John Kacur <jkacur@redhat.com> - 0.15-2
|
|
|
|
|
- Rebuild for rhel-9.0
|
|
|
|
|
Resolves:rhbz#2040095
|
|
|
|
|
|
|
|
|
|
* Tue Aug 17 2021 Lumír Balhar <lbalhar@redhat.com> - 0.15-1
|
|
|
|
|
- Update to 0.15
|
|
|
|
|
Resolves: rhbz#1976102 and rhbz#1977904
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.14-11
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.14-10
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14-7
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Sep 17 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14-5
|
|
|
|
|
- Drop python2-ethtool
|
|
|
|
|
|
|
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14-4
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Sep 13 2018 Miro Hrončok <mhroncok@redhat.com> - 0.14-1
|
|
|
|
|
- Update to 0.14
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.13-5
|
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|