- do not patch arch specific Makefiles, but simply pass WARN_FLAGS

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Botan?expand=0&rev=8
This commit is contained in:
Stephan Kulow
2009-12-21 18:27:20 +00:00
committed by Git OBS Bridge
parent 73224962fd
commit 9012284e10
3 changed files with 6 additions and 16 deletions

View File

@@ -29,7 +29,6 @@ AutoReqProv: on
Prefix: /usr
Group: Development/Libraries/C and C++
Source: %{name}-%{version}.tar.bz2
Source1: Botan-use_rpm_opt_flags.patch
Patch0: Botan-inttypes.patch
Patch1: Botan-ull_constants.patch.bz2
Patch2: Botan-fix_install_paths.patch
@@ -105,8 +104,7 @@ export RPM_OPT_FLAGS
--with-gnump \
--with-openssl \
--with-tr1-implementation=system
patch -p0 -i %{S:1}
make %{?_smp_mflags}
make %{?_smp_mflags} WARN_FLAGS="$RPM_OPT_FLAGS"
%install
%makeinstall