Skip to content
Snippets Groups Projects
Commit 8c6b2bce authored by Aditya Ramteke's avatar Aditya Ramteke
Browse files

Replace rm -rf requirements.txt step with proper rpm macro.

https://github.com/redhat-openstack/easyfix/issues/5

Change-Id: Ic9e6791351290c0631939ae2bb53a83d50cb901f
parent 95da4fc0
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,7 @@ Summary: python-magnumclient documentation ...@@ -107,6 +107,7 @@ Summary: python-magnumclient documentation
BuildRequires: python-sphinx BuildRequires: python-sphinx
BuildRequires: python-openstackdocstheme BuildRequires: python-openstackdocstheme
BuildRequires: python-os-client-config BuildRequires: python-os-client-config
BuildRequires: openstack-macros
#BuildRequires: python-decorator #BuildRequires: python-decorator
%description -n python-%{pname}-doc %description -n python-%{pname}-doc
...@@ -152,7 +153,7 @@ Requires: python3-prettytable ...@@ -152,7 +153,7 @@ Requires: python3-prettytable
%autosetup -n %{name}-%{upstream_version} -S git %autosetup -n %{name}-%{upstream_version} -S git
# let RPM handle deps # let RPM handle deps
rm -rf {test-,}requirements.txt %py_req_cleanup
%build %build
%py2_build %py2_build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment