[python-pbr] remove requirements.txt, require python-pip
Matthias Runge
mrunge at fedoraproject.org
Tue Aug 13 11:33:37 UTC 2013
commit cb36574a85422c6e3e30faf7c2eac8f4f05baad4
Author: Matthias Runge <mrunge at redhat.com>
Date: Tue Aug 13 13:33:11 2013 +0200
remove requirements.txt, require python-pip
python-pbr.spec | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/python-pbr.spec b/python-pbr.spec
index 706e8d5..3964794 100644
--- a/python-pbr.spec
+++ b/python-pbr.spec
@@ -2,7 +2,7 @@
Name: python-%{pypi_name}
Version: 0.5.21
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Python Build Reasonableness
License: ASL 2.0
@@ -47,9 +47,10 @@ time to make that code into a proper re-usable library.
%prep
%setup -q -n %{pypi_name}-%{version}
+# Remove the requirements file so that pbr hooks don't add it
+# to distutils requiers_dist config
+rm -rf {test-,}requirements.txt
-# remove unused requirement
-sed -i '/setuptools_git/d' requirements.txt
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
@@ -82,6 +83,7 @@ rm -rf html/.{doctrees,buildinfo}
%changelog
* Tue Aug 13 2013 Matthias Runge <mrunge at redhat.com> - 0.5.21-2
- add requirement python-pip (rhbz#996192)
+- remove requirements.txt
* Thu Aug 08 2013 Matthias Runge <mrunge at redhat.com> - 0.5.21-1
- update to 0.5.21 (rhbz#990008)
More information about the scm-commits
mailing list