From 2a5209a36125886a602c2b87ee23105b81d3fa3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Mon, 7 May 2018 13:30:24 +0200 Subject: [PATCH] New upstream release 1.12 --- .gitignore | 1 + python-productmd.spec | 29 +++++++++++++++++------------ sources | 2 +- 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 4f7e337..bb19b66 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /python-productmd-1.9.tar.gz /python-productmd-1.10.tar.gz /python-productmd-1.11.tar.gz +/productmd-1.12.tar.bz2 diff --git a/python-productmd.spec b/python-productmd.spec index 89796cf..b275f4b 100644 --- a/python-productmd.spec +++ b/python-productmd.spec @@ -1,13 +1,15 @@ %bcond_without python3 -Name: python-productmd -Version: 1.11 -Release: 2%{?dist} +%global srcname productmd + +Name: python-%{srcname} +Version: 1.12 +Release: 1%{?dist} Summary: Library providing parsers for metadata related to OS installation License: LGPLv2+ URL: https://github.com/release-engineering/productmd -Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.bz2 BuildArch: noarch @@ -17,7 +19,7 @@ and installation media. %description %_description -%package -n python2-productmd +%package -n python2-%{srcname} Summary: %summary Obsoletes: productmd <= %{version}-%{release} Provides: productmd = %{version}-%{release} @@ -31,23 +33,23 @@ BuildRequires: python2-setuptools BuildRequires: python2-six Requires: python2-six %endif -%{?python_provide:%python_provide python2-productmd} +%{?python_provide:%python_provide python2-%{srcname}} -%description -n python2-productmd %_description +%description -n python2-%{srcname} %_description %if 0%{?with_python3} -%package -n python%{python3_pkgversion}-productmd +%package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-six Requires: python%{python3_pkgversion}-six -%description -n python%{python3_pkgversion}-productmd %_description +%description -n python%{python3_pkgversion}-%{srcname} %_description %endif %prep -%setup -q +%setup -q -n %{srcname}-%{version} %build %py2_build @@ -70,14 +72,14 @@ Requires: python%{python3_pkgversion}-six %{__python3} ./setup.py test %endif -%files -n python2-productmd +%files -n python2-%{srcname} %license LICENSE %doc AUTHORS %{python_sitelib}/productmd/ %{python_sitelib}/productmd-%{version}-py?.?.egg-info %if 0%{?with_python3} -%files -n python%{python3_pkgversion}-productmd +%files -n python%{python3_pkgversion}-%{srcname} %license LICENSE %doc AUTHORS %{python3_sitelib}/productmd/ @@ -85,6 +87,9 @@ Requires: python%{python3_pkgversion}-six %endif %changelog +* Mon May 07 2018 Lubomír Sedlář - 1.12-1 +- Add vpc/vhd as known image type/format + * Wed Apr 04 2018 Lubomír Sedlář - 1.11-2 - Stop using Tito from upstream diff --git a/sources b/sources index 578d659..8b3e26f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-productmd-1.11.tar.gz) = f6dbf31c1d13f105a8d8d2289d773431ece6b8719c69d8e30efebc25b5e97e996f4cce6d8394a83b9180ec77335234a08d826767c6dbee6d6449318149b0576e +SHA512 (productmd-1.12.tar.bz2) = df6eac5856240d929e17fc9e29701cf215d10163dd2ee7c71ca08638ac7e9120282c5141af2ff1e367d166ac43164cf82b34ec7efb4743bf827b3c25e6c5b4b7