diff --git python-wifi/python-wifi.spec python-wifi/python-wifi.spec.tmp index ff66a1a35d..a7ef35385d 100644 --- python-wifi/python-wifi.spec +++ python-wifi/python-wifi.spec.tmp @@ -1,6 +1,6 @@ Name: python-wifi Version: 0.5.0 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Python binding for the wireless extensions #python-wifi is licensed under LGPLv2+, however, the examples @@ -13,10 +13,18 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -%description -Python-Wifi is a Python library that provides access to information about a +%global _description\ +Python-Wifi is a Python library that provides access to information about a\ W-LAN card's capabilities, like the wireless extensions written in C. +%description %_description + +%package -n python2-wifi +Summary: %summary +%{?python_provide:%python_provide python2-wifi} + +%description -n python2-wifi %_description + %prep %setup -q #Remove shebang @@ -44,7 +52,7 @@ rm -rf %{buildroot}/usr/examples/ mkdir -p %{buildroot}%{_mandir}/man8/ mv %{buildroot}/usr/man/man8/iw* %{buildroot}%{_mandir}/man8/ -%files +%files -n python2-wifi %doc README docs/AUTHORS docs/BUGS docs/ChangeLog docs/LICENSE* docs/DEVEL.txt %doc docs/TODO docs/ROADMAP docs/NEWS %doc examples/*.py* tests @@ -53,6 +61,10 @@ mv %{buildroot}/usr/man/man8/iw* %{buildroot}%{_mandir}/man8/ %{python_sitelib}/python_wifi*.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.5.0-16 +- Python 2 binary package renamed to python2-wifi + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.5.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild