From 9bf1a97bfd9ee0793cebbfe9e15efd82fc059826 Mon Sep 17 00:00:00 2001 From: Jan Kupec Date: Wed, 5 Sep 2007 12:56:18 +0000 Subject: [PATCH] - correct compiler flags --- libzypp.spec.cmake | 10 +++++----- package/libzypp.changes | 5 +++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/libzypp.spec.cmake b/libzypp.spec.cmake index 4226da8..09123c8 100644 --- a/libzypp.spec.cmake +++ b/libzypp.spec.cmake @@ -1,7 +1,7 @@ # # spec file for package libzypp # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -11,7 +11,7 @@ # norootforbuild Name: @PACKAGE@ -License: GPL +License: GPL v2 or later Group: System/Packages BuildRoot: %{_tmppath}/%{name}-%{version}-build Autoreqprov: on @@ -75,12 +75,12 @@ mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \ -DLIB=%{_lib} \ - -DCMAKE_C_FLAGS="%{optflags}" \ - -DCMAKE_CXX_FLAGS="%{optflags}" \ + -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=1 \ .. -make %{?jobs:-j %jobs} +make %{?jobs:-j %jobs} VERBOSE=1 make -C doc/autodoc %{?jobs:-j %jobs} make -C po %{?jobs:-j %jobs} translations diff --git a/package/libzypp.changes b/package/libzypp.changes index a8aad3a..b83768a 100644 --- a/package/libzypp.changes +++ b/package/libzypp.changes @@ -14,6 +14,11 @@ Tue Sep 4 12:09:10 CEST 2007 - schubi@suse.de - revision 7103 ------------------------------------------------------------------- +Mon Sep 3 18:43:51 CEST 2007 - schwab@suse.de + +- Use $RPM_OPT_FLAGS. + +------------------------------------------------------------------- Mon Sep 3 17:14:02 CEST 2007 - ma@suse.de - Reset transact bits when switching status from -- 2.7.4