Hello community,

here is the log from the commit of package kyotocabinet for openSUSE:Factory 
checked in at 2012-08-16 14:07:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kyotocabinet (Old)
 and      /work/SRC/openSUSE:Factory/.kyotocabinet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kyotocabinet", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/kyotocabinet/kyotocabinet.changes        
2012-08-10 19:01:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kyotocabinet.new/kyotocabinet.changes   
2012-08-16 14:07:59.000000000 +0200
@@ -1,0 +2,7 @@
+Sat Aug 11 14:19:14 UTC 2012 - jeng...@inai.de
+
+- Replace %makeinstall by make install; the former seldomly works
+- kyoto requires at least i586 an arch; force it on RH6 (which
+  defaults to i386)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kyotocabinet.spec ++++++
--- /var/tmp/diff_new_pack.Z20oDO/_old  2012-08-16 14:08:00.000000000 +0200
+++ /var/tmp/diff_new_pack.Z20oDO/_new  2012-08-16 14:08:00.000000000 +0200
@@ -19,11 +19,11 @@
 Name:           kyotocabinet
 Version:        1.2.76
 Release:        0
-License:        SUSE-GPL-3.0-with-FLOSS-exception
 %define soname 16
 Summary:        A straightforward implementation of DBM
-Url:            http://fallabs.com/kyotocabinet/
+License:        SUSE-GPL-3.0-with-FLOSS-exception
 Group:          Productivity/Databases/Tools
+Url:            http://fallabs.com/kyotocabinet/
 Source:         
http://fallabs.com/kyotocabinet/pkg/kyotocabinet-%{version}.tar.gz
 # PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch1:         %{name}-fix_rpath.patch
@@ -36,6 +36,10 @@
 BuildRequires:  zlib-devel
 Requires:       libkyotocabinet%{soname} = %{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if "%_target_cpu" == "i386"
+# kyotocabinet uses __sync_* primitives and requires at least 586
+BuildArch:      i586
+%endif
 
 %description
 Kyoto Cabinet is a library of routines for managing a database. The database
@@ -107,11 +111,15 @@
 
 %build
 autoreconf -iv
+export CFLAGS="%optflags";
+export CXXFLAGS="%optflags";
+export CFLAGS="${CFLAGS//-march=i386/-march=i586}";
+export CXXFLAGS="${CXXFLAGS//-march=i386/-march=i586}";
 %configure
 make %{?_smp_mflags}
 
 %install
-%makeinstall
+make install DESTDIR="%buildroot"
 rm -rf %{buildroot}%{_datadir}/kyotocabinet
 rm -rf %{buildroot}%{_libdir}/libkyotocabinet.a
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to