From ab22207da425e96bc39080f1d0af285948500e35e4c8cc924a44d710cb81913a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 11 Sep 2013 12:07:26 +0000 Subject: [PATCH] Accepting request 198493 from home:kwk:branches:devel:tools:building - Fix build for SLE10 (no fdupes) OBS-URL: https://build.opensuse.org/request/show/198493 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=124 --- cmake.changes | 5 +++++ cmake.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cmake.changes b/cmake.changes index e17b7c1..e8b1e6c 100644 --- a/cmake.changes +++ b/cmake.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 11 11:49:06 UTC 2013 - kkaempf@suse.com + +- Fix build for SLE10 (no fdupes) + ------------------------------------------------------------------- Mon Aug 12 19:21:05 UTC 2013 - tchvatal@suse.com diff --git a/cmake.spec b/cmake.spec index 8c63b85..0acf324 100644 --- a/cmake.spec +++ b/cmake.spec @@ -31,7 +31,9 @@ License: BSD-3-Clause Group: Development/Tools/Building BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} +%if 0%{?suse_version} > 1010 BuildRequires: fdupes +%endif %if 0%{?sles_version} != 10 BuildRequires: libarchive-devel %endif @@ -90,7 +92,7 @@ sed -i \ -e 's:OPTFLAGS:%{optflags}:g' \ %{buildroot}%{_datadir}/cmake/Modules/opensuse_rules.cmake -%if 0%{?suse_version} +%if 0%{?suse_version} > 1010 %fdupes %{buildroot}/usr/share/cmake %endif