Hello community,

here is the log from the commit of package libfm for openSUSE:Factory checked 
in at 2012-06-07 15:38:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libfm (Old)
 and      /work/SRC/openSUSE:Factory/.libfm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libfm", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/libfm/libfm.changes      2011-11-14 
12:11:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libfm.new/libfm.changes 2012-06-07 
15:39:02.000000000 +0200
@@ -1,0 +2,7 @@
+Tue May 29 10:39:18 UTC 2012 - [email protected]
+
+- Remove redundant tags/sections from specfile
+- Parallel build with %_smp_mflags
+- Resolve build exiting due to -Werror and unsatisfied macros
+
+-------------------------------------------------------------------

New:
----
  libfm-automake.diff

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

Other differences:
------------------
++++++ libfm.spec ++++++
--- /var/tmp/diff_new_pack.zzmr7h/_old  2012-06-07 15:39:03.000000000 +0200
+++ /var/tmp/diff_new_pack.zzmr7h/_new  2012-06-07 15:39:03.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libfm
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,30 +15,29 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           libfm
 Summary:        A glib/gio-based lib used to develop file managers
-Version:        0.1.17_rc4
-Release:        1
 License:        GPL-2.0
 Group:          Development/Libraries/C and C++
+Version:        0.1.17_rc4
+Release:        0
 Url:            http://www.lxde.org/
 Source0:        %name-0.1.17.tar.bz2
 Source1:        %name-rpmlintrc
 Patch0:         %name-default-config.patch
+Patch1:         libfm-automake.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  autoconf >= 2.63
+BuildRequires:  desktop-file-utils
+BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-BuildRequires:  gtk2-devel
 BuildRequires:  gtk-doc
+BuildRequires:  gtk2-devel
 BuildRequires:  intltool
 BuildRequires:  libtool
 BuildRequires:  menu-cache-devel >= 0.3.2
-BuildRequires:  desktop-file-utils
 BuildRequires:  update-desktop-files
-BuildRequires:  fdupes
-BuildRequires:  autoconf
 PreReq:         desktop-file-utils
 PreReq:         shared-mime-info
 
@@ -47,30 +46,27 @@
 file management utilities and related-widgets missing in gtk+/glib.
 
 %package -n libfm1
-License:        GPL-2.0
-Group:          System/Libraries
 Summary:        Libfm libraries
+Group:          System/Libraries
 
 %description  -n libfm1
 libfm libraries for development
 
 %package -n libfm-gtk1
-License:        GPL-2.0
-Group:          System/Libraries
 Summary:        GTK libfm libraries
+Group:          System/Libraries
 
 %description  -n libfm-gtk1
 GTK libfm libraries for development
 
 %package devel
-License:        GPL-2.0
-Group:          Development/Libraries/C and C++
 Summary:        Devel files for libfm
-Requires:       libfm1 = %version
-Requires:       libfm-gtk1 = %version
+Group:          Development/Libraries/C and C++
 Requires:       %name = %version
-Requires:       gtk2-devel
 Requires:       glib2-devel
+Requires:       gtk2-devel
+Requires:       libfm-gtk1 = %version
+Requires:       libfm1 = %version
 Requires:       pkg-config
 
 %description devel
@@ -78,9 +74,8 @@
 file management utilities and related-widgets missing in gtk+/glib.
 
 %package doc
-License:        GPL-2.0
-Group:          Documentation/Other
 Summary:        GTK libfm libraries
+Group:          Documentation/Other
 Requires:       %name >= %version
 
 %description doc
@@ -88,7 +83,7 @@
 
 %prep
 %setup -q -n %name-0.1.17
-%patch0 -p1
+%patch -P 0 -P 1 -p1
 
 %build
 autoreconf -fi
@@ -101,7 +96,7 @@
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool 
 
-%__make
+make %{?_smp_mfalgs}
 
 %install
 %makeinstall
@@ -134,9 +129,6 @@
 
 %postun -n libfm1 -p /sbin/ldconfig
 
-%clean
-rm -rf %{buildroot}
-
 %files -f %name.lang
 %defattr(-,root,root)
 %dir %{_sysconfdir}/xdg/%name

++++++ libfm-automake.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2012-05-29 12:38:33.039968198 +0200

Add AM_PROG_AR, AM_PROG_CC_C_O, but also kill -Werror because
%-style is sometimes not fixable quickly.

automake: warnings are treated as errors
data/ui/Makefile.am:21: warning: '%'-style pattern rules are a GNU make 
extension
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libgiofm.la': linking 
libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 
'configure.ac'
src/Makefile.am:312:   while processing Libtool library 'libgiofm.la'
src/Makefile.am:21: warning: compiling 'glib-compat.c' with per-target flags 
requires 'AM_PROG_CC_C_O' in 'configure.ac'

---
 configure.ac |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Index: libfm-0.1.17/configure.ac
===================================================================
--- libfm-0.1.17.orig/configure.ac
+++ libfm-0.1.17/configure.ac
@@ -3,13 +3,15 @@
 
 AC_PREREQ([2.63])
 AC_INIT([libfm], [0.1.17], [http://pcmanfm.sorceforge.net/])
-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+AM_INIT_AUTOMAKE([-Wall foreign])
 AC_CONFIG_MACRO_DIR(m4)
 AC_CONFIG_HEADERS([config.h])
 
 # Checks for programs.
 AC_PROG_CC
-AM_PROG_LIBTOOL
+AM_PROG_CC_C_O
+AM_PROG_AR
+LT_INIT
 
 # Checks for libraries.
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to