Update python-distro to 1.2.0-1

This commit is contained in:
Miroslav Suchý 2018-01-02 11:55:16 +01:00
parent f01ac603f8
commit 551f530701
3 changed files with 16 additions and 11 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/distro-1.0.1.tar.gz
/distro-1.0.2.tar.gz
/distro-1.0.3.tar.gz
/distro-1.2.0.tar.gz

View File

@ -1,7 +1,4 @@
%global pypi_name distro
# compatibility for RHEL <= 6
%{!?_licensedir:%global license %%doc}
%if 0%{?rhel} && 0%{?rhel} <= 7
%bcond_with python3
%else
@ -9,8 +6,8 @@
%endif
Name: python-%{pypi_name}
Version: 1.0.3
Release: 2%{?dist}
Version: 1.2.0
Release: 1%{?dist}
Summary: Linux Distribution - a Linux OS platform information API
License: ASL 2.0
@ -43,12 +40,13 @@ 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
%if %{with python3}
#for tests
BuildRequires: python3-tox
%endif
%description -n python2-%{pypi_name} %{_description}
@ -103,9 +101,15 @@ rm -rf %{pypi_name}.egg-info
%{_bindir}/distro
%check
%if %{with python3}
tox
%endif
%changelog
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Tue Jan 02 2018 Miroslav Suchý <msuchy@redhat.com> 1.2.0-1
- run tests
- rebase to distro 1.2.0
* Mon Mar 20 2017 Miroslav Suchý <msuchy@redhat.com> 1.0.3-1
- rebase to 1.0.3

View File

@ -1 +1 @@
SHA512 (distro-1.0.3.tar.gz) = 0f5e41919076e5230adc2f7941e12779ad756e6e50f6feb66221d6c11a20600cf009dffa11ee1fcd9a7fc47faff38fd8b2e75d24356ea110ace5cc07829fda94
SHA512 (distro-1.2.0.tar.gz) = 022cbe8e1406d58ad1242ac3e5a2db38424a79eecf1b06131e7ee81d3727444413ed01b35279f7b657fadacec6717e428d1eee239d0698faa575cc38923d8a33