From bfdd57c28481e76e5f6530ef1ea8e6ee6d1c16297b216a3c1658308b52b4e7cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 24 Apr 2014 10:29:47 +0000 Subject: [PATCH] Accepting request 231232 from home:dirkmueller:branches:devel:tools:building - fix build on SLE11 - remove dependency on system curl: this is not a security senstive app and the system curl comes quite late in the build cycle - remove nonsensical checks for %{sles_version} OBS-URL: https://build.opensuse.org/request/show/231232 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=145 --- cmake.changes | 9 +++++++++ cmake.spec | 18 ++++++------------ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/cmake.changes b/cmake.changes index e2276c2..934c078 100644 --- a/cmake.changes +++ b/cmake.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Apr 23 17:15:17 UTC 2014 - dmueller@suse.com + +- fix build on SLE11 +- remove dependency on system curl: this is not a security + senstive app and the system curl comes quite late in the + build cycle +- remove nonsensical checks for %{sles_version} + ------------------------------------------------------------------- Thu Mar 20 01:42:01 UTC 2014 - hrvoje.senjan@gmail.com diff --git a/cmake.spec b/cmake.spec index 5f234a2..182b233 100644 --- a/cmake.spec +++ b/cmake.spec @@ -33,19 +33,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} > 1010 BuildRequires: fdupes %endif -%if 0%{?sles_version} != 10 +%if 0%{?suse_version} > 1110 BuildRequires: libarchive-devel +BuildRequires: libbz2-devel %endif BuildRequires: libexpat-devel -%else -BuildRequires: expat-devel %endif -BuildRequires: curl-devel BuildRequires: gcc-c++ BuildRequires: ncurses-devel -BuildRequires: openssl-devel BuildRequires: zlib-devel -BuildRequires: pkgconfig(bzip2) Requires: make @@ -64,16 +60,13 @@ export CFLAGS="$CXXFLAGS" --datadir=/share/%{name} \ --docdir=/share/doc/packages/%{name} \ --mandir=/share/man \ -%if 0%{?suse_version} && !0%{?sles_version} --system-libs \ -%else - --system-curl \ - --system-expat \ - --system-zlib \ - --system-bzip2 \ + --no-system-curl \ +%if 0%{?suse_version} <= 1110 --no-system-libarchive \ %endif --parallel=0%jobs \ + --verbose \ --no-qt-gui make VERBOSE=1 %{?_smp_mflags} @@ -102,6 +95,7 @@ sed -i \ %{_bindir}/ccmake %{_datadir}/cmake %{_libdir}/cmake +%dir %{_datadir}/aclocal %{_datadir}/aclocal/cmake.m4 %doc %{_datadir}/doc/packages/%{name}