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