Accepting request 27371 from devel:libraries:c_c++

Copy from devel:libraries:c_c++/Botan based on submit request 27371 from user coolo

OBS-URL: https://build.opensuse.org/request/show/27371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Botan?expand=0&rev=7
This commit is contained in:
OBS User autobuild 2009-12-21 22:35:45 +00:00 committed by Git OBS Bridge
commit 1b465eccc6
3 changed files with 7 additions and 17 deletions

View File

@ -1,13 +0,0 @@
Index: Makefile
===================================================================
--- Makefile.orig 2009-11-27 15:09:06.000000000 +0100
+++ Makefile 2009-11-27 16:14:16.117516962 +0100
@@ -5,7 +5,7 @@ CXX = g++ -m64
LIB_OPT = -O2 -finline-functions
CHECK_OPT = -O2
MACH_OPT =
-LANG_FLAGS = -D_REENTRANT -ansi -Wno-long-long
+LANG_FLAGS = -D_REENTRANT -ansi -Wno-long-long $(RPM_OPT_FLAGS)
WARN_FLAGS = -W -Wall
SO_OBJ_FLAGS = -fPIC
SO_LINK_CMD = $(CXX) -shared -fPIC -Wl,-soname,$(SONAME)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 21 17:34:49 UTC 2009 - coolo@novell.com
- do not patch arch specific Makefiles, but simply pass WARN_FLAGS
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 21 00:32:43 CET 2009 - ro@suse.de Mon Dec 21 00:32:43 CET 2009 - ro@suse.de

View File

@ -21,7 +21,7 @@
Name: Botan Name: Botan
Version: 1.8.8 Version: 1.8.8
Release: 2 Release: 3
Url: http://botan.randombit.net Url: http://botan.randombit.net
Summary: A C++ Crypto Library Summary: A C++ Crypto Library
License: BSD3c License: BSD3c
@ -29,7 +29,6 @@ AutoReqProv: on
Prefix: /usr Prefix: /usr
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source1: Botan-use_rpm_opt_flags.patch
Patch0: Botan-inttypes.patch Patch0: Botan-inttypes.patch
Patch1: Botan-ull_constants.patch.bz2 Patch1: Botan-ull_constants.patch.bz2
Patch2: Botan-fix_install_paths.patch Patch2: Botan-fix_install_paths.patch
@ -105,8 +104,7 @@ export RPM_OPT_FLAGS
--with-gnump \ --with-gnump \
--with-openssl \ --with-openssl \
--with-tr1-implementation=system --with-tr1-implementation=system
patch -p0 -i %{S:1} make %{?_smp_mflags} WARN_FLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install %install
%makeinstall %makeinstall