summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Haerry <mh@scrit.ch>2013-11-18 09:01:53 +0100
committerMarcel Haerry <mh@scrit.ch>2013-11-18 09:01:53 +0100
commitbdb85b7a331aa46da960110ec1fcb6f2dfbe2d16 (patch)
tree173bfc1d2fb8a11f32006fc09de4310eb0edd21b
parente1539e84f60f559408ca99beef8a9a71d76e9f9d (diff)
put requirements to the right placeHEADmaster
-rw-r--r--SPECS/python-qrencode.spec8
1 files changed, 3 insertions, 5 deletions
diff --git a/SPECS/python-qrencode.spec b/SPECS/python-qrencode.spec
index 4f4de7b..f58162b 100644
--- a/SPECS/python-qrencode.spec
+++ b/SPECS/python-qrencode.spec
@@ -29,11 +29,6 @@ Requires: python-imaging
BuildRequires: python-imaging
BuildRequires: qrencode-devel
BuildRequires: python2-devel
-%if 0%{?with_python3}
-Requires: python3-pillow
-BuildRequires: python3-devel
-BuildRequires: python3-pillow
-%endif # if with_python3
%description
A simple wrapper for the C qrencode library.
@@ -41,6 +36,9 @@ A simple wrapper for the C qrencode library.
%if 0%{?with_python3}
%package -n python3-%{pkgname}
Summary: Python 3 wrapper for the qrencode library
+Requires: python3-pillow
+BuildRequires: python3-devel
+BuildRequires: python3-pillow
%description -n python3-%{pkgname}
A simple python 3 wrapper for the C qrencode library.