Hello community,

here is the log from the commit of package qore for openSUSE:Factory checked in 
at 2014-07-16 16:19:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qore (Old)
 and      /work/SRC/openSUSE:Factory/.qore.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qore"

Changes:
--------
--- /work/SRC/openSUSE:Factory/qore/qore.changes        2014-07-13 
14:06:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.qore.new/qore.changes   2014-07-16 
16:22:06.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jul 13 17:08:50 UTC 2014 - [email protected]
+
+- configure.patch: don't use -m32/-m64
+
+-------------------------------------------------------------------

New:
----
  configure.patch

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

Other differences:
------------------
++++++ qore.spec ++++++
--- /var/tmp/diff_new_pack.HlZSF1/_old  2014-07-16 16:22:07.000000000 +0200
+++ /var/tmp/diff_new_pack.HlZSF1/_new  2014-07-16 16:22:07.000000000 +0200
@@ -27,6 +27,8 @@
 Group:          Development/Languages
 Url:            http://qore.org
 Source:         http://prdownloads.sourceforge.net/qore/qore-%{version}.tar.bz2
+Patch:          configure.patch
+BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  bzip2
 BuildRequires:  doxygen
@@ -35,6 +37,7 @@
 BuildRequires:  gcc-c++
 BuildRequires:  gmp-devel
 BuildRequires:  libbz2-devel
+BuildRequires:  libtool
 BuildRequires:  mpfr-devel
 BuildRequires:  openssl-devel
 BuildRequires:  pcre-devel
@@ -148,18 +151,19 @@
 
 %prep
 %setup -q
+%patch -p1
 # silence the executable warning for examples
 find examples -type f|xargs chmod 644
 find test -type f|xargs chmod 644
-mv $RPM_BUILD_DIR/%{name}-%{version}/test 
$RPM_BUILD_DIR/%{name}-%{version}/examples
+mv test examples
 
-%ifarch x86_64 ppc64 s390x
+%build
+autoreconf -fi
+%if "%_lib" == "lib64"
 c64=--enable-64bit
 %endif
 # need to configure with /usr as prefix as this will be used to derive the 
module directory
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr 
--disable-debug --disable-static $c64 --libdir=%{_libdir}
-
-%build
 make %{?_smp_mflags}
 
 %install

++++++ configure.patch ++++++
Index: qore-0.8.11/configure.ac
===================================================================
--- qore-0.8.11.orig/configure.ac
+++ qore-0.8.11/configure.ac
@@ -292,10 +292,7 @@ fi
 # FIXME: add test on HP-UX if the compiler can generate the appropriate 
binaries
 if test "$enable_64bit" = "yes"; then
    case "${host_os}" in
-      *linux*) if test "$GXX" = "yes"; then
-                  CXXFLAGS="$CXXFLAGS -m64"
-               fi
-               # only set LIBSUFFIX=64 if /usr/lib64 exists
+      *linux*) # only set LIBSUFFIX=64 if /usr/lib64 exists
                if test -d /usr/lib64; then
                   LIBSUFFIX=64
                 fi
@@ -348,13 +345,7 @@ if test "$enable_64bit" = "yes"; then
    bits=64
 else
    case "${host_os}" in
-     *linux*)  if test "$GXX" = "yes"; then
-                  case "${host_cpu}" in
-                     arm*) ;;
-                     *) CXXFLAGS="$CXXFLAGS -m32" ;;
-                  esac
-               fi
-               # multiarch
+     *linux*)  # multiarch
                if test -a "$host_cpu" = "x86_64" -a -d /usr/lib32; then
                   LIBSUFFIX=32
                 fi
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to