Address rpmlint issues
This commit is contained in:
parent
cd03137d18
commit
f7c7f9c502
@ -3,17 +3,17 @@
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 0.22.0
|
Version: 0.22.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Fast Python ASN.1 parser and serializer
|
Summary: Fast Python ASN.1 parser and serializer
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/wbond/asn1crypto
|
URL: https://github.com/wbond/asn1crypto
|
||||||
Source0: https://files.pythonhosted.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
|
||||||
@ -60,19 +60,22 @@ rm -rf %{pypi_name}.egg-info
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
# asn1crypto source distribution doesn't come with tests
|
# asn1crypto source distribution doesn't come with tests
|
||||||
# %{__python2} setup.py test
|
# {__python2} setup.py test
|
||||||
# %{__python3} setup.py test
|
# {__python3} setup.py test
|
||||||
|
|
||||||
%files -n python2-%{pypi_name}
|
%files -n python2-%{pypi_name}
|
||||||
%doc
|
%doc
|
||||||
%{python2_sitelib}/%{pypi_name}
|
%{python2_sitelib}/%{pypi_name}
|
||||||
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python3-%{pypi_name}
|
||||||
%doc
|
%doc
|
||||||
%{python3_sitelib}/%{pypi_name}
|
%{python3_sitelib}/%{pypi_name}
|
||||||
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 27 2017 Christian Heimes <cheimes@redhat.com> - 0.22.0-2
|
||||||
|
- Address rpmlint issues
|
||||||
|
|
||||||
* Tue Jun 27 2017 Christian Heimes <cheimes@redhat.com> - 0.22.0-1
|
* Tue Jun 27 2017 Christian Heimes <cheimes@redhat.com> - 0.22.0-1
|
||||||
- Initial package.
|
- Initial package.
|
||||||
|
Loading…
Reference in New Issue
Block a user