Hello community,

here is the log from the commit of package ElectricFence for openSUSE:Factory 
checked in at 2017-02-16 17:02:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ElectricFence (Old)
 and      /work/SRC/openSUSE:Factory/.ElectricFence.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ElectricFence"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ElectricFence/ElectricFence.changes      
2014-11-04 17:28:49.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ElectricFence.new/ElectricFence.changes 
2017-02-16 17:02:12.188023151 +0100
@@ -1,0 +2,10 @@
+Mon Feb 13 12:15:59 UTC 2017 - [email protected]
+
+- Cleanup spec file with spec-cleaner
+
+-------------------------------------------------------------------
+Mon Feb 13 08:28:55 UTC 2017 - [email protected]
+
+- Compile with -fno-builtins to avoid infinite loop (bsc#1024939) 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ElectricFence.spec ++++++
--- /var/tmp/diff_new_pack.7ehTMI/_old  2017-02-16 17:02:12.755942800 +0100
+++ /var/tmp/diff_new_pack.7ehTMI/_new  2017-02-16 17:02:12.759942234 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ElectricFence
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX 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,12 @@
 #
 
 
-
 Name:           ElectricFence
-License:        LGPL-2.1+
-Group:          Development/Tools/Debuggers
-Provides:       efence
-Obsoletes:      efence
 Version:        2.2.2
-Release:        667
+Release:        0
 Summary:        Malloc Debugger
+License:        LGPL-2.1+
+Group:          Development/Tools/Debuggers
 Url:            http://perens.com/FreeSoftware
 Source:         %{name}-%{version}.tar.bz2
 Patch0:         %{name}-%{version}.diff
@@ -32,6 +29,8 @@
 Patch2:         %{name}-%{version}-pthread.diff
 Patch3:         %{name}-%{version}-mmap.diff
 Patch4:         %{name}-strerror.diff
+Provides:       efence
+Obsoletes:      efence
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -49,27 +48,25 @@
 echo -e "#!/bin/bash\n`which %__cc` \"\$@\"" >gcc
 chmod 755 gcc
 export PATH=`pwd`:$PATH
-make CC="%__cc" CFLAGS="$RPM_OPT_FLAGS -g -DUSE_SEMAPHORE -fPIC" 
%{?_smp_mflags}
+# We need to use -fno-builtins, otherwise gcc may generate an infinite loop
+make CC="gcc" CFLAGS="%{optflags} -fno-builtin -g -DUSE_SEMAPHORE -fPIC" 
%{?_smp_mflags}
 
 %install
-install -D -d -m755 $RPM_BUILD_ROOT%{_bindir}
-install -D -d -m755 $RPM_BUILD_ROOT%{_libdir}
-install -D -d -m755 $RPM_BUILD_ROOT%{_mandir}/man3
-make   BIN_INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir} \
-       LIB_INSTALL_DIR=$RPM_BUILD_ROOT%{_libdir} \
-       MAN_INSTALL_DIR=$RPM_BUILD_ROOT%{_mandir}/man3 \
+install -D -d -m755 %{buildroot}%{_bindir}
+install -D -d -m755 %{buildroot}%{_libdir}
+install -D -d -m755 %{buildroot}%{_mandir}/man3
+make   BIN_INSTALL_DIR=%{buildroot}%{_bindir} \
+       LIB_INSTALL_DIR=%{buildroot}%{_libdir} \
+       MAN_INSTALL_DIR=%{buildroot}%{_mandir}/man3 \
        install
 
-%post
-%{run_ldconfig}
-
-%postun
-%{run_ldconfig}
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
 %doc README CHANGES COPYING
-%doc %{_mandir}/man?/*
+%{_mandir}/man?/*
 %{_libdir}/lib*
 %{_bindir}/*
 


Reply via email to