From 0a64aee7552ed75e24fa45bf1b00fae3a4bbb343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Tue, 24 Jan 2017 14:13:09 +0100 Subject: [PATCH] Update python-distro to 1.0.2-1 Resolves: #1415667 - require python-argparse on EL6 --- .gitignore | 1 + python-distro.spec | 21 +++++++++++++-------- sources | 2 +- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index b567b53..e002dfe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /distro-1.0.0.tar.gz /distro-1.0.1.tar.gz +/distro-1.0.2.tar.gz diff --git a/python-distro.spec b/python-distro.spec index 6d76244..5739afe 100644 --- a/python-distro.spec +++ b/python-distro.spec @@ -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ý 1.0.2-1 +- update to 1.0.2 +- 1415667 - require python-argparse on EL6 + * Tue Jan 03 2017 Miroslav Suchý 1.0.1-2 - soft deps on lsb_release diff --git a/sources b/sources index bc73b31..7f5cedd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (distro-1.0.1.tar.gz) = adac287d3b36034f92c1c5d7f66216dbffe923d04fd2556b79531dd8ca6dcab73d4771d3e14f5b2516d9692e2a734f614487ffee88738daa13592222d6892860 +SHA512 (distro-1.0.2.tar.gz) = df29ca40c1e7dd6e370396ceca684f5ce41fe50450faea104132d0e5dee05a91a525db715835c7efbca020e9c2e063bde9a6da07967eda6bfa8180856e175abb