Hello community,

here is the log from the commit of package cint for openSUSE:Factory checked in 
at 2013-06-05 11:42:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cint (Old)
 and      /work/SRC/openSUSE:Factory/.cint.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cint"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cint/cint.changes        2012-06-29 
06:57:12.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cint.new/cint.changes   2013-06-05 
11:43:10.000000000 +0200
@@ -1,0 +2,5 @@
+Tue May 28 12:49:50 UTC 2013 - [email protected]
+
+- pic-flag.patch: always use -fPIC.
+
+-------------------------------------------------------------------

New:
----
  pic-flag.patch

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

Other differences:
------------------
++++++ cint.spec ++++++
--- /var/tmp/diff_new_pack.gmVy5t/_old  2013-06-05 11:43:10.000000000 +0200
+++ /var/tmp/diff_new_pack.gmVy5t/_new  2013-06-05 11:43:10.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cint
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,15 @@
 #
 
 
-
 Name:           cint
 Version:        5.18.00
-Release:        1
-License:        MIT
+Release:        0
 Summary:        C/C++ Interpreter
-Url:            http://root.cern.ch/drupal/content/cint
+License:        MIT
 Group:          Development/Languages/C and C++
+Url:            http://root.cern.ch/drupal/content/cint
 Source:         %{name}-%{version}.tar.bz2
+Patch:          pic-flag.patch
 BuildRequires:  gcc-c++
 BuildRequires:  readline-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -41,17 +41,15 @@
 
 %prep
 %setup -q
+%patch -p1
 
 %build
 # This is a custom configure script
 ./configure --prefix=%{_prefix} \
             --libdir=%{_libdir} \
             --readlinelib=%{_libdir}/libreadline.so
-%ifarch %{arm} x86_64
-export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -fPIC"
-%endif
-echo "G__CFG_CFLAGS := ${RPM_OPT_FLAGS}" >> Makefile.conf
-echo "G__CFG_CXXFLAGS := ${RPM_OPT_FLAGS} -DG__GNUREADLINE" >> Makefile.conf
+echo "G__CFG_CFLAGS += ${RPM_OPT_FLAGS}" >> Makefile.conf
+echo "G__CFG_CXXFLAGS += ${RPM_OPT_FLAGS}" >> Makefile.conf
 make %{_smp_mflags}
 
 %install

++++++ pic-flag.patch ++++++
Index: cint-5.18.00/configure
===================================================================
--- cint-5.18.00.orig/configure
+++ cint-5.18.00/configure
@@ -109,6 +109,8 @@ function config_GCC_defaults {
 
 function config_linux {
     config_GCC_defaults
+    CFLAGS="${CFLAGS} -fPIC"
+    CXXFLAGS="${CXXFLAGS} -fPIC"
 }
 
 function config_freebsd {
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to