[python-nose] Remove CFLAGS (noarch package) and add dep for docs package => main package as pointed out in review

Toshio くらとみ toshio at fedoraproject.org
Sat Nov 19 18:18:11 UTC 2011


commit f0f61789b64edd0f3e0a37266b1bebcc10824df5
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Sat Nov 19 10:17:29 2011 -0800

    Remove CFLAGS (noarch package) and add dep for docs package => main
    package as pointed out in review of the python-nose1.1 compat package

 python-nose.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/python-nose.spec b/python-nose.spec
index a4f278c..6b7ca68 100644
--- a/python-nose.spec
+++ b/python-nose.spec
@@ -60,6 +60,7 @@ output capture and more.
 Summary:        Nose Documentation
 Group:          Documentation
 BuildRequires:  python-sphinx
+Requires: python-nose
 
 %description docs
 Documentation for Nose
@@ -106,7 +107,7 @@ cp -a . %{py3dir}
 
 %if 0%{?with_python3}
 pushd %{py3dir}
-CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
+%{__python3} setup.py build
 popd
 %endif # with_python3
 


More information about the scm-commits mailing list