Logoj0ke.net Open Build Service > Projects > devel:python > python-ReportLab > Changes
Sign Up | Log In

Changes of Revision 2

[-] Changed python-ReportLab.spec
x
 
1
@@ -31,7 +31,10 @@
2
 BuildRequires:  python-xml
3
 BuildRequires:  libjpeg-devel 
4
 BuildRequires:  giflib-devel
5
-BuildRequires:  fdupes python-imaging
6
+%if 0%{?suse_version} >= 1030
7
+BuildRequires:  fdupes
8
+%endif
9
+BuildRequires: python-imaging
10
 # python-ReportLab is needed by HPLIP for fax coverpages
11
 # but faxing in HPLIP works also without coverpages:
12
 Supplements:    hplip
13
@@ -91,7 +94,9 @@
14
 %__python ./setup.py install -O1 --skip-build --prefix="%{_prefix}" --root="%{buildroot}" --record=INSTALLED_FILES
15
 find %{buildroot} -name "*pyc" -exec rm {} \;
16
 sed -i '/pyc$/d' INSTALLED_FILES
17
+%if 0%{?suse_version} >= 1030
18
 %fdupes %{buildroot}
19
+%endif
20
 
21
 %clean
22
 rm -rf %{buildroot}
23