diff --git python-pgpdump/python-pgpdump.spec python-pgpdump/python-pgpdump.spec.tmp index 5a474c8ec9..529ae13bed 100644 --- python-pgpdump/python-pgpdump.spec +++ python-pgpdump/python-pgpdump.spec.tmp @@ -9,7 +9,7 @@ Name: python-%{pkgname} Version: 1.5 -Release: 7%{?dist} +Release: 8%{?dist} Summary: PGP packet parser library in Python 2.x URL: https://github.com/toofishes/python-pgpdump Source0: https://pypi.python.org/packages/source/p/%{pkgname}/%{pkgname}-%{version}.tar.gz @@ -19,18 +19,26 @@ BuildArch: noarch BuildRequires: python2-devel %if 0%{?with_python3} -%description -python-pgpdump is a Python 2 library for parsing PGP packets. The intent here -is not on completeness, as we don't currently decode every packet type, but -on being able to do what people actually have to 95% of the time. +%global _description\ +python-pgpdump is a Python 2 library for parsing PGP packets. The intent here\ +is not on completeness, as we don't currently decode every packet type, but\ +on being able to do what people actually have to 95% of the time.\ +\ +Currently supported things include:\ +\ +* Signature packets\ +* Public key packets\ +* Secret key packets\ +* Trust, user ID, and user attribute packets\ +* ASCII-armor decoding and CRC check -Currently supported things include: +%description %_description -* Signature packets -* Public key packets -* Secret key packets -* Trust, user ID, and user attribute packets -* ASCII-armor decoding and CRC check +%package -n python2-%{pkgname} +Summary: %summary +%{?python_provide:%python_provide python2-%{pkgname}} + +%description -n python2-%{pkgname} %_description %package -n python3-%{pkgname} Summary: PGP packet parser library in Python 3.x @@ -98,7 +106,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} pgpdump/test.py popd %endif -%files +%files -n python2-%{pkgname} %doc README.md %license COPYRIGHT %{python2_sitelib}/%{pkgname}-%{version}-py%{python2_version}.egg-info @@ -113,6 +121,10 @@ popd %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.5-8 +- Python 2 binary package renamed to python2-pgpdump + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild