From f7c7f9c502c29054a63bfef39eb6c17743ff0ff8 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 27 Jun 2017 18:30:35 +0200 Subject: [PATCH] Address rpmlint issues --- .rpmlint | 1 + python-asn1crypto.spec | 17 ++++++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 .rpmlint diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..f3a175d --- /dev/null +++ b/.rpmlint @@ -0,0 +1 @@ +addFilter('spelling-error.*serializer') diff --git a/python-asn1crypto.spec b/python-asn1crypto.spec index 4c8468e..42aa51c 100644 --- a/python-asn1crypto.spec +++ b/python-asn1crypto.spec @@ -3,17 +3,17 @@ Name: python-%{pypi_name} Version: 0.22.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Fast Python ASN.1 parser and serializer License: MIT URL: https://github.com/wbond/asn1crypto Source0: https://files.pythonhosted.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch - + BuildRequires: python2-devel BuildRequires: python-setuptools - + BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -60,19 +60,22 @@ rm -rf %{pypi_name}.egg-info %check # asn1crypto source distribution doesn't come with tests -# %{__python2} setup.py test -# %{__python3} setup.py test +# {__python2} setup.py test +# {__python3} setup.py test %files -n python2-%{pypi_name} -%doc +%doc %{python2_sitelib}/%{pypi_name} %{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %files -n python3-%{pypi_name} -%doc +%doc %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog +* Tue Jun 27 2017 Christian Heimes - 0.22.0-2 +- Address rpmlint issues + * Tue Jun 27 2017 Christian Heimes - 0.22.0-1 - Initial package.