summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Ružička <jruzicka@redhat.com>2018-01-08 20:54:04 +0100
committerJakub Ružička <jruzicka@redhat.com>2018-01-09 01:25:20 +0100
commita761c87165ce470c64ac06d2a407e9ff6ca5e4b5 (patch)
tree37b18f99195e9e8b38004d350a025f11c176f367
parent0b58fc0196851ac79430e1d820f3d1c317ecf2f5 (diff)
downloadpython-pymod2pkg-a761c87165ce470c6.zip
python-pymod2pkg-a761c87165ce470c6.tar.gz
python-pymod2pkg-a761c87165ce470c6.tar.xz
python-pymod2pkg-0.11.0-1epel7
Changelog: - Updated to upstream release 0.11.0 - Disable enforcement of new pbr version - Require python-pbr instead of python2-pbr
-rw-r--r--.gitignore1
-rw-r--r--python-pymod2pkg.spec15
-rw-r--r--sources2
3 files changed, 14 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 81b4104..b812076 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/pymod2pkg-0.5.2.tar.gz
/pymod2pkg-0.6.1.tar.gz
/pymod2pkg-0.10.1.tar.gz
+/pymod2pkg-0.11.0.tar.gz
diff --git a/python-pymod2pkg.spec b/python-pymod2pkg.spec
index 0225caa..d36a68d 100644
--- a/python-pymod2pkg.spec
+++ b/python-pymod2pkg.spec
@@ -5,7 +5,7 @@
%endif
Name: python-pymod2pkg
-Version: 0.10.1
+Version: 0.11.0
Release: 1%{?dist}
Summary: python module name to package name map
License: ASL 2.0
@@ -21,10 +21,10 @@ their corresponding distro package names.
%package -n python2-%{sname}
Summary: python module name to package name map
-Requires: python2-pbr
+Requires: python-pbr
BuildRequires: python-setuptools
BuildRequires: python2-devel
-BuildRequires: python2-pbr
+BuildRequires: python-pbr
BuildRequires: python-testrepository
BuildRequires: python-testresources
BuildRequires: python-testtools
@@ -57,6 +57,10 @@ This is a Python3 version.
%prep
%setup -q -n pymod2pkg-%{version}
+# pbr>=2.0.0 synced from global reqs isn't available
+# but available older pbr version is fine, so handle reqs ourselves
+sed -i -e "s/'pbr>=[^']\+'/'pbr'/" setup.py
+rm -f requirements.txt
%build
%py2_build
@@ -110,6 +114,11 @@ ln -s ./%{sname}-%{python2_version} %{buildroot}%{_bindir}/%{sname}
%changelog
+* Mon Jan 08 2018 Jakub Ružička <jruzicka@redhat.com> 0.11.0-1
+- Updated to upstream release 0.11.0
+- Disable enforcement of new pbr version
+- Require python-pbr instead of python2-pbr
+
* Tue Sep 19 2017 Javier Peña <jpena@redhat.com> 0.10.1-1
- Updated to upstream release 0.10.1
- Enable unit tests
diff --git a/sources b/sources
index a3d23b3..b8d2f15 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pymod2pkg-0.10.1.tar.gz) = 441fc72bf7ef7cbb67289d4da27bc00bc9a94a38a527232162a5f0189c685772dfd42c6de12d240a58573dc5da9e9932ad59517d613f7c6db0fbc527d1b4837e
+SHA512 (pymod2pkg-0.11.0.tar.gz) = a17aee74cd51aa7dd33d95591b1d17cd970b0a60ccec0ce57651f8ea78b736358829165ca503fde966437da8a1fc6292c5a88d27b6ca58bf63848729c2d4afe0