|
|
|
@ -26,8 +26,8 @@
|
|
|
|
|
%{!?py2_install: %global py2_install %{expand: CFLAGS="%{optflags}" %{__python2} setup.py %{?py_setup_args} install -O1 --skip-build --root %{buildroot}}}
|
|
|
|
|
|
|
|
|
|
Name: python-productmd
|
|
|
|
|
Version: 1.4
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 1.8
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Library providing parsers for metadata related to OS installation
|
|
|
|
|
|
|
|
|
|
Group: Development/Tools
|
|
|
|
@ -35,12 +35,6 @@ License: LGPLv2+
|
|
|
|
|
URL: https://github.com/release-engineering/productmd
|
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Obsoletes: productmd <= %{version}-%{release}
|
|
|
|
|
Provides: productmd = %{version}-%{release}
|
|
|
|
|
Provides: python2-productmd = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
Requires: python-six
|
|
|
|
|
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
|
BuildRequires: python-six
|
|
|
|
@ -53,10 +47,21 @@ BuildRequires: python%{python3_pkgversion}-six
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Python library providing parsers for metadata related to composes
|
|
|
|
|
%global _description\
|
|
|
|
|
Python library providing parsers for metadata related to composes\
|
|
|
|
|
and installation media.
|
|
|
|
|
|
|
|
|
|
%description %_description
|
|
|
|
|
|
|
|
|
|
%package -n python2-productmd
|
|
|
|
|
Summary: %summary
|
|
|
|
|
Obsoletes: productmd <= %{version}-%{release}
|
|
|
|
|
Provides: productmd = %{version}-%{release}
|
|
|
|
|
Requires: python-six
|
|
|
|
|
%{?python_provide:%python_provide python2-productmd}
|
|
|
|
|
|
|
|
|
|
%description -n python2-productmd %_description
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%package -n python%{python3_pkgversion}-productmd
|
|
|
|
|
Summary: Library providing parsers for metadata related to OS installation
|
|
|
|
@ -96,7 +101,7 @@ and installation media.
|
|
|
|
|
# Implemented in EPEL, but not in RHEL
|
|
|
|
|
%{!?_licensedir:%global license %doc}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%files -n python2-productmd
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc AUTHORS
|
|
|
|
|
%{python_sitelib}/productmd/
|
|
|
|
@ -111,6 +116,34 @@ and installation media.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Oct 11 2017 Lubomír Sedlář <lsedlar@redhat.com> 1.8-1
|
|
|
|
|
- Report better error on parsing invalid JSON (#95) (lubomir.sedlar@gmail.com)
|
|
|
|
|
- Python 2 binary package renamed to python2-productmd (zbyszek@in.waw.pl)
|
|
|
|
|
- Sync spec file with Fedora (#94) (lubomir.sedlar@gmail.com)
|
|
|
|
|
|
|
|
|
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.7-3
|
|
|
|
|
- Python 2 binary package renamed to python2-productmd
|
|
|
|
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Apr 19 2017 Lubomír Sedlář <lsedlar@redhat.com> 1.7-1
|
|
|
|
|
- common: omit context kwarg to urlopen on old Python (lsedlar@redhat.com)
|
|
|
|
|
|
|
|
|
|
* Thu Apr 06 2017 Lubomír Sedlář <lsedlar@redhat.com> 1.6-1
|
|
|
|
|
- Add a new image type dvd-debuginfo (lsedlar@redhat.com)
|
|
|
|
|
- Add Tito release for F26 (lsedlar@redhat.com)
|
|
|
|
|
|
|
|
|
|
* Tue Apr 04 2017 Lubomír Sedlář <lsedlar@redhat.com> 1.5-1
|
|
|
|
|
- Add 'unified' to unique image attributes (lsedlar@redhat.com)
|
|
|
|
|
- Add EA - Early Access label (lkocman@redhat.com)
|
|
|
|
|
- Correctly parse type from ci compose (lsedlar@redhat.com)
|
|
|
|
|
- Simplify tests for creating compose id (lsedlar@redhat.com)
|
|
|
|
|
- Sync spec file with Fedora (enable Py3 for EPEL) (#79) (awilliam@redhat.com)
|
|
|
|
|
- Support 'unique image identifier' concept, enforce on 1.1+
|
|
|
|
|
(awilliam@redhat.com)
|
|
|
|
|
|
|
|
|
|
* Wed Feb 15 2017 Adam Williamson <awilliam@redhat.com>
|
|
|
|
|
- Restore compatibility cruft for pure-RHEL builds
|
|
|
|
|
|
|
|
|
|