Mailinglist Archive: opensuse-buildservice (219 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: Error at line 20 of cmake.spec
  • From: Michal Marek <mmarek@xxxxxxx>
  • Date: Fri, 01 Feb 2008 17:23:19 +0100
  • Message-id: <47A34777.8000703@xxxxxxx>
G. Massera wrote:
Michal Marek ha scritto:

Could you merge the SUSE and RHEL(CentOS) spec into one (cmake.spec)?
They seem to be very similar, so it should be possible to push the
changes to openSUSE:Factory, on which devel:tools:building/cmake (*) is
based.
...
The modification is easy... and I've already tested for CentOS and RHEL.
Attached there is the cmake.spec modified


Great! Petr, can you add it? It allows to build cmake for
RH/CentOS/Fedora in devel:tools:building (once enabled).

this is the diff:
--- cmake.spec 2008-02-01 17:15:06.000000000 +0100
+++ cmake.spec~ 2008-02-01 17:14:42.000000000 +0100
@@ -17,15 +17,11 @@
Group: Development/Tools/Building
%define tar_version 2.4.8
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version}
-%if 0%{?suse_version} > 1020
+%if %suse_version > 1020
BuildRequires: libexpat-devel
%else
BuildRequires: expat
%endif
-%else
-BuildRequires: expat-devel
-%endif
BuildRequires: curl-devel expat gcc-c++ libstdc++-devel
BuildRequires: ncurses-devel openssl-devel zlib-devel
Url: http://www.cmake.org/


Michal
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >