Update python-distro to 1.0.2-1
Resolves: #1415667 - require python-argparse on EL6
This commit is contained in:
parent
0d0cf0756d
commit
0a64aee755
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/distro-1.0.0.tar.gz
|
||||
/distro-1.0.1.tar.gz
|
||||
/distro-1.0.2.tar.gz
|
||||
|
||||
@ -7,8 +7,8 @@
|
||||
%endif
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.0.1
|
||||
Release: 2%{?dist}
|
||||
Version: 1.0.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Linux Distribution - a Linux OS platform information API
|
||||
|
||||
License: ASL 2.0
|
||||
@ -41,6 +41,9 @@ BuildRequires: python-setuptools
|
||||
%else
|
||||
BuildRequires: python2-setuptools
|
||||
%endif
|
||||
%if 0%{?rhel} == 6
|
||||
Requires: python-argparse
|
||||
%endif
|
||||
%if 0%{?fedora}
|
||||
Suggests: /usr/bin/lsb_release
|
||||
%endif
|
||||
@ -82,17 +85,15 @@ rm -rf %{pypi_name}.egg-info
|
||||
%endif
|
||||
|
||||
%files -n python2-%{pypi_name}
|
||||
%doc README.rst
|
||||
# not included in tar.gz
|
||||
# see https://github.com/nir0s/distro/issues/139
|
||||
#%%license LICENSE
|
||||
%doc README.rst CHANGES README.md
|
||||
%%license LICENSE
|
||||
%{python2_sitelib}/%{pypi_name}-*.egg-info/
|
||||
%{python2_sitelib}/%{pypi_name}.py*
|
||||
|
||||
%if %{with python3}
|
||||
%files -n python3-%{pypi_name}
|
||||
%doc README.rst
|
||||
#%%license LICENSE
|
||||
%doc README.rst CHANGES README.md
|
||||
%%license LICENSE
|
||||
%{python3_sitelib}/%{pypi_name}-*.egg-info/
|
||||
%{python3_sitelib}/%{pypi_name}.py
|
||||
%{python3_sitelib}/__pycache__/%{pypi_name}.*
|
||||
@ -101,6 +102,10 @@ rm -rf %{pypi_name}.egg-info
|
||||
%{_bindir}/distro
|
||||
|
||||
%changelog
|
||||
* Tue Jan 24 2017 Miroslav Suchý <msuchy@redhat.com> 1.0.2-1
|
||||
- update to 1.0.2
|
||||
- 1415667 - require python-argparse on EL6
|
||||
|
||||
* Tue Jan 03 2017 Miroslav Suchý <msuchy@redhat.com> 1.0.1-2
|
||||
- soft deps on lsb_release
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (distro-1.0.1.tar.gz) = adac287d3b36034f92c1c5d7f66216dbffe923d04fd2556b79531dd8ca6dcab73d4771d3e14f5b2516d9692e2a734f614487ffee88738daa13592222d6892860
|
||||
SHA512 (distro-1.0.2.tar.gz) = df29ca40c1e7dd6e370396ceca684f5ce41fe50450faea104132d0e5dee05a91a525db715835c7efbca020e9c2e063bde9a6da07967eda6bfa8180856e175abb
|
||||
|
||||
Loading…
Reference in New Issue
Block a user