Hello community, here is the log from the commit of package Botan for openSUSE:Factory checked in at 2015-12-27 01:58:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Botan (Old) and /work/SRC/openSUSE:Factory/.Botan.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Botan" Changes: -------- --- /work/SRC/openSUSE:Factory/Botan/Botan.changes 2015-08-15 11:38:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.Botan.new/Botan.changes 2015-12-27 01:58:47.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Dec 24 10:48:11 UTC 2015 - mplus...@suse.com + +- Add gpg signature +- Cleanup spec file with spec-cleaner + +------------------------------------------------------------------- New: ---- Botan-1.10.10.tgz.asc Botan.keyring ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Botan.spec ++++++ --- /var/tmp/diff_new_pack.00xkMA/_old 2015-12-27 01:58:49.000000000 +0100 +++ /var/tmp/diff_new_pack.00xkMA/_new 2015-12-27 01:58:49.000000000 +0100 @@ -18,16 +18,17 @@ %define version_suffix 1_10-1 %define short_version 1.10 - Name: Botan Version: 1.10.10 Release: 0 -Url: http://botan.randombit.net Summary: A C++ Crypto Library License: BSD-2-Clause Group: Development/Libraries/C and C++ +Url: http://botan.randombit.net Source0: http://botan.randombit.net/releases/%{name}-%{version}.tgz -Source2: baselibs.conf +Source1: http://botan.randombit.net/releases/%{name}-%{version}.tgz.asc +Source2: %{name}.keyring +Source3: baselibs.conf Patch0: Botan-inttypes.patch Patch1: Botan-ull_constants.patch.bz2 Patch2: Botan-fix_install_paths.patch @@ -36,10 +37,6 @@ Patch7: dont-set-mach-value.diff Patch8: aarch64-support.patch Patch9: ppc64le-support.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: bzip2 >= 1.0.2 -Requires: gmp >= 4.1 -Requires: zlib BuildRequires: bzip2 >= 1.0.2 BuildRequires: gcc-c++ BuildRequires: gmp-devel @@ -50,6 +47,10 @@ BuildRequires: pkg-config BuildRequires: python BuildRequires: zlib-devel +Requires: bzip2 >= 1.0.2 +Requires: gmp >= 4.1 +Requires: zlib +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Botan is a C++ library that provides support for many common @@ -68,15 +69,14 @@ supported, including RSA, DSA, DES, AES, MD5, and SHA-1. %package -n libbotan-devel +%define botan_docdir %{_docdir}/%{name}-%{version} Summary: Development files for Botan Group: Development/Libraries/C and C++ Requires: gmp-devel +Requires: libbotan-%{version_suffix} = %{version} Requires: libbz2-devel Provides: Botan-devel = %{version} Obsoletes: Botan-devel < %{version} -Requires: libbotan-%{version_suffix} = %{version} - -%define botan_docdir %{_datadir}/doc/packages/%{name}-%{version} %description -n libbotan-devel This package contains the header files and libraries needed to develop @@ -95,8 +95,11 @@ %build export RPM_OPT_FLAGS + %define common_config_flags --libdir=%{_lib} --with-bzip2 --with-zlib --with-gnump --with-openssl -./configure.py --prefix=%_prefix --libdir=%{_libdir} \ +./configure.py \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ --docdir=%{_defaultdocdir} \ --includedir=%{_includedir} \ --with-bzip2 \ @@ -105,11 +108,11 @@ --with-openssl \ --enable-modules=qt_mutex \ --with-tr1-implementation=system \ - --cpu=%_target_cpu -make %{?_smp_mflags} WARN_FLAGS="$RPM_OPT_FLAGS -I/usr/include/Qt" + --cpu=%{_target_cpu} +make %{?_smp_mflags} WARN_FLAGS="%{optflags} -I/usr/include/Qt" %install -%makeinstall +make DESTDIR=%{buildroot} install %{?_smp_mflags} rm -f %{buildroot}/%{_libdir}/libbotan*.a %post -n libbotan-%{version_suffix} -p /sbin/ldconfig