New upstream release 1.12

This commit is contained in:
Lubomír Sedlář 2018-05-07 13:30:24 +02:00
parent c5007e9251
commit 2a5209a361
3 changed files with 19 additions and 13 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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ář <lsedlar@redhat.com> - 1.12-1
- Add vpc/vhd as known image type/format
* Wed Apr 04 2018 Lubomír Sedlář <lsedlar@redhat.com> - 1.11-2
- Stop using Tito from upstream

View File

@ -1 +1 @@
SHA512 (python-productmd-1.11.tar.gz) = f6dbf31c1d13f105a8d8d2289d773431ece6b8719c69d8e30efebc25b5e97e996f4cce6d8394a83b9180ec77335234a08d826767c6dbee6d6449318149b0576e
SHA512 (productmd-1.12.tar.bz2) = df6eac5856240d929e17fc9e29701cf215d10163dd2ee7c71ca08638ac7e9120282c5141af2ff1e367d166ac43164cf82b34ec7efb4743bf827b3c25e6c5b4b7