diff --git a/.gitignore b/.gitignore index 3118b6e..5e69223 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ results_python-yamlordereddictloader /yamlordereddictloader-0.2.2.tar.gz /yamlordereddictloader-0.3.0.tar.gz +/yamlordereddictloader-0.4.0.tar.gz diff --git a/python-yamlordereddictloader.spec b/python-yamlordereddictloader.spec index eaee334..15e6248 100644 --- a/python-yamlordereddictloader.spec +++ b/python-yamlordereddictloader.spec @@ -2,17 +2,17 @@ %global sum YAML loader for PyYAML that maintains key order Name: python-%{srcname} -Version: 0.3.0 -Release: 6%{?dist} +Version: 0.4.0 +Release: 1%{?dist} Summary: %{sum} License: MIT URL: https://github.com/fmenabe/python-yamlordereddictloader Source0: https://files.pythonhosted.org/packages/source/y/%{srcname}/%{srcname}-%{version}.tar.gz -BuildRequires: python3-devel +BuildRequires: python%{python3_pkgversion}-devel BuildRequires: PyYAML -BuildRequires: python3-PyYAML +BuildRequires: python%{python3_pkgversion}-PyYAML BuildArch: noarch @@ -22,12 +22,12 @@ and values in a dictionary as they appear in the input file. This can be useful for certain applications where named values should also be maintained in a particular order -%package -n python3-%{srcname} +%package -n python%{python3_pkgversion}-%{srcname} Summary: %{sum} Requires: python3-PyYAML -%{?python_provide:%python_provide python3-%{srcname}} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} -%description -n python3-%{srcname} +%description -n python%{python3_pkgversion}-%{srcname} This is a loader for PyYAML that maintains the order of the keys and values in a dictionary as they appear in the input file. This can be useful for certain applications where named values should @@ -45,15 +45,20 @@ also be maintained in a particular order %py3_install -%files -n python3-%{srcname} +%files -n python%{python3_pkgversion}-%{srcname} %doc README.rst %license LICENSE.txt %{python3_sitelib}/%{srcname}.py* %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info -%{python3_sitelib}/__pycache__/%{srcname}.cpython*pyc +%{python3_sitelib}/__pycache__/%{srcname}.cpython*py* %changelog +* Tue Dec 18 2018 Greg Hellings - 0.4.0-1 +- Upstream version 0.4.4 +- Switched hard-coded python3 to use %%{python3_pkgversion} +- Addresses BZ#1647597 + * Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek - 0.3.0-6 - Python2 binary package has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal diff --git a/sources b/sources index f70cf3a..44bb34b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (yamlordereddictloader-0.3.0.tar.gz) = 52d9eee5470467e438a731f9bf62d0ac20e1821bba16d7dc9098fc08f5538bed1e9de41c3f86ffd15ab66c47c66cb52020b827875816a9d4cceddbd963903a8b +SHA512 (yamlordereddictloader-0.4.0.tar.gz) = f3fbb9a7642fb40ce3588b393a451d994f80a8dbba6fcb58d0f2be9adb8e3231a1da7101c67844d57b59af6a0912178de1ec9ab571afb5b25704e44a69ef62d5