| |
@@ -1,14 +1,10 @@
|
| |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
| |
%bcond_with python3
|
| |
- %if 0%{?rhel} <= 6
|
| |
- %{!?python2_version: %global python2_version %(%{__python2} -c "import sys; sys.stdout.write(sys.version[:3])")}
|
| |
- %{!?_licensedir:%global license %%doc}
|
| |
- %endif
|
| |
%else
|
| |
%bcond_without python3
|
| |
%endif
|
| |
|
| |
- %if 0%{?fedora} && 0%{?fedora} >= 30
|
| |
+ %if (0%{?fedora} && 0%{?fedora} >= 30) || (0%{?rhel} && 0%{?rhel} >= 8)
|
| |
%bcond_with python2
|
| |
%else
|
| |
%bcond_without python2
|
| |
@@ -20,12 +16,12 @@
|
| |
%global modname %(n=%{srcname}; echo ${n//-/_})
|
| |
|
| |
Name: python-%{srcname}
|
| |
- Version: 0.0.13
|
| |
- Release: 2%{?dist}
|
| |
+ Version: 0.0.16
|
| |
+ Release: 1%{?dist}
|
| |
|
| |
Summary: Python library for Dockerfile manipulation
|
| |
- License: BSD
|
| |
- URL: https://github.com/DBuildService/dockerfile-parse
|
| |
+ License: 0.0.13
|
| |
+ URL: https://github.com/containerbuildsystem/dockerfile-parse
|
| |
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
| |
|
| |
BuildArch: noarch
|
| |
@@ -38,15 +34,17 @@
|
| |
Summary: %{summary}
|
| |
%{?python_provide:%python_provide python2-%{srcname}}
|
| |
BuildRequires: python2-devel
|
| |
- BuildRequires: python2-six
|
| |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
| |
+ BuildRequires: python-six
|
| |
BuildRequires: python-setuptools
|
| |
BuildRequires: pytest
|
| |
+ Requires: python-six
|
| |
%else
|
| |
+ BuildRequires: python2-six
|
| |
BuildRequires: python2-setuptools
|
| |
BuildRequires: python2-pytest
|
| |
- %endif
|
| |
Requires: python2-six
|
| |
+ %endif
|
| |
|
| |
%description -n python2-%{srcname}
|
| |
%{summary}.
|
| |
@@ -120,6 +118,9 @@
|
| |
%endif
|
| |
|
| |
%changelog
|
| |
+ * Tue Jan 21 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.0.16-1
|
| |
+ - new upstream release: 0.0.16
|
| |
+
|
| |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.13-2
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
| |
|
| |
Upstream tag: 0.0.16
Upstream commit: 2741f065