diff --git a/.gitignore b/.gitignore index 026f414..0690c61 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /ConfigArgParse-0.9.3.tar.gz /ConfigArgParse-0.10.0.tar.gz /ConfigArgParse-0.11.0.tar.gz +/ConfigArgParse-0.12.0.tar.gz diff --git a/python-configargparse.spec b/python-configargparse.spec index a90d40d..bd44ff4 100644 --- a/python-configargparse.spec +++ b/python-configargparse.spec @@ -1,13 +1,8 @@ %global srcname ConfigArgParse -%if 0%{?fedora} -%bcond_without python3 -%else -%bcond_with python3 -%endif Name: python-configargparse -Version: 0.11.0 -Release: 3%{?dist} +Version: 0.12.0 +Release: 1%{?dist} Summary: A Python module with support for argparse, config files, and env variables License: MIT @@ -16,12 +11,9 @@ Source0: https://github.com/bw2/ConfigArgParse/archive/%{version}.tar.gz# Buildarch: noarch BuildRequires: python2-devel -BuildRequires: python-setuptools - -%if %{with python3} +BuildRequires: python2-setuptools BuildRequires: python3-devel BuildRequires: python3-setuptools -%endif %description Applications with more than a handful of user-settable options are best @@ -32,7 +24,6 @@ Python’s command line parsing modules such as argparse have very limited support for config files and environment variables, so this module extends argparse to add these features. - %package -n python2-configargparse Summary: %{summary} %{?python_provide:%python_provide python2-configargparse} @@ -46,7 +37,6 @@ Python’s command line parsing modules such as argparse have very limited support for config files and environment variables, so this module extends argparse to add these features. -%if %{with python3} %package -n python3-configargparse Summary: %{summary} %{?python_provide:%python_provide python3-configargparse} @@ -59,22 +49,17 @@ coded defaults, and in some cases, environment variables. Python’s command line parsing modules such as argparse have very limited support for config files and environment variables, so this module extends argparse to add these features. -%endif %prep %autosetup -n %{srcname}-%{version} %build %py2_build -%if %{with python3} %py3_build -%endif %install %py2_install -%if %{with python3} %py3_install -%endif %files -n python2-configargparse %doc README.rst @@ -82,16 +67,17 @@ argparse to add these features. %{python2_sitelib}/configargparse.py* %{python2_sitelib}/%{srcname}*.egg-info -%if %{with python3} %files -n python3-configargparse %doc README.rst %license LICENSE %{python3_sitelib}/configargparse.py* %{python3_sitelib}/%{srcname}*.egg-info %{python3_sitelib}/__pycache__/configargparse* -%endif %changelog +* Thu Jun 29 2017 Fabian Affolter - 0.12.0-1 +- Update to new upstream version 0.12.0 + * Sat Feb 11 2017 Fedora Release Engineering - 0.11.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 5cab444..c629036 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -00b778f112297708249a05722c3db4b0 ConfigArgParse-0.11.0.tar.gz +SHA512 (ConfigArgParse-0.12.0.tar.gz) = c8499241c3fb13bc7734e1d63bee1cedce909c6800595265e61f8d086f985b08a01ce8312bc47db04402bb4070d41884fe8eedd73d9c5ef7c7a159236639792d