diff --git a/.gitignore b/.gitignore index 0690718..aaa6b55 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /toml-0.9.0.tar.gz /toml-0.9.1.tar.gz +/toml-0.9.2.tar.gz diff --git a/python-toml.spec b/python-toml.spec index 22cb1a6..93292c5 100644 --- a/python-toml.spec +++ b/python-toml.spec @@ -1,14 +1,19 @@ %global pypi_name toml %global with_test 0 +%global desc TOML aims to be a minimal configuration file format that's easy to read due to \ +obvious semantics. TOML is designed to map unambiguously to a hash table. TOML \ +should be easy to parse into data structures in a wide variety of languages. \ +This package loads toml file into python dictionary and dump dictionary into \ +toml file. Name: python-%{pypi_name} -Version: 0.9.1 -Release: 7%{?dist} +Version: 0.9.2 +Release: 1%{?dist} Summary: Python Library for Tom's Obvious, Minimal Language License: MIT URL: https://pypi.python.org/pypi/%{pypi_name} -Source0: https://pypi.python.org/packages/source/t/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +Source0: https://pypi.python.org/packages/5c/b2/8a18ced00a43f2cc5261f9ac9f1c94621251400a80db1567177719355177/toml-%{version}.tar.gz # Tests files are not provided in pypi release as they require toml-test to run Source1: https://raw.githubusercontent.com/uiri/toml/da6d593944d08569e08ff32f2bb2e73da91d3578/toml_test.py Source2: https://raw.githubusercontent.com/uiri/toml/da6d593944d08569e08ff32f2bb2e73da91d3578/toml_test3.py @@ -18,37 +23,24 @@ BuildRequires: python2-devel BuildRequires: golang-github-BurntSushi-toml-test %description -TOML aims to be a minimal configuration file format that's easy to read due to -obvious semantics. TOML is designed to map unambiguously to a hash table. TOML -should be easy to parse into data structures in a wide variety of languages. -This package loads toml file into python dictionary and dump dictionary into -toml file. +%desc %package -n python2-%{pypi_name} -Summary: Python Library for Tom's Obvious, Minimal Language +Summary: %{summary} %{?python_provide:%python_provide python2-%{pypi_name}} %description -n python2-%{pypi_name} -TOML aims to be a minimal configuration file format that's easy to read due to -obvious semantics. TOML is designed to map unambiguously to a hash table. TOML -should be easy to parse into data structures in a wide variety of languages. -This package loads toml file into python dictionary and dump dictionary into -toml file. +%desc %package -n python3-%{pypi_name} -Summary: Python Library for Tom's Obvious, Minimal Language +Summary: %{summary} BuildRequires: python3-devel %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} -TOML aims to be a minimal configuration file format that's easy to read due to -obvious semantics. TOML is designed to map unambiguously to a hash table. TOML -should be easy to parse into data structures in a wide variety of languages. -This package loads toml file into python dictionary and dump dictionary into -toml file. - +%desc %prep %setup -q -n %{pypi_name}-%{version} @@ -90,7 +82,12 @@ toml-test $(pwd)/toml_test.py %{python3_sitelib}/%{pypi_name}.py %{python3_sitelib}/__pycache__/%{pypi_name}.cpython-*.py* + %changelog +* Thu Sep 01 2016 Julien Enselme - 0.9.2-1 +- Update to 0.9.2 +- Improve spec with %%summary and %%desc macros + * Tue Jul 19 2016 Fedora Release Engineering - 0.9.1-7 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages diff --git a/sources b/sources index a9628a2..f5c889b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -06a5f56f3db07a459ac9d6812d051530 toml-0.9.1.tar.gz +910a9573116c91d63e132741183c8a80 toml-0.9.2.tar.gz