Hello community, here is the log from the commit of package acpiw checked in at Tue May 6 18:47:33 CEST 2008. -------- --- acpiw/acpiw.changes 2006-02-19 16:46:41.000000000 +0100 +++ /mounts/work_src_done/STABLE/acpiw/acpiw.changes 2008-05-06 07:26:20.000000000 +0200 @@ -1,0 +2,6 @@ +Tue May 6 07:25:04 CEST 2008 - crrodriguez@suse.de + +- fix for Feature No 300498 , use RPM_OPT_FLAGS everywhere. +- correct linking order and link "as-needed" + +------------------------------------------------------------------- New: ---- acpiw-0.75-optflags.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ acpiw.spec ++++++ --- /var/tmp/diff_new_pack.fS1703/_old 2008-05-06 18:46:58.000000000 +0200 +++ /var/tmp/diff_new_pack.fS1703/_new 2008-05-06 18:46:58.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package acpiw (Version 0.75) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -10,19 +10,21 @@ # norootforbuild + Name: acpiw BuildRequires: glib2-devel gtk2-devel update-desktop-files -URL: http://www.heise.de/ct/ftp/02/25/234/ +Url: http://www.heise.de/ct/ftp/02/25/234/ Version: 0.75 -Release: 400 -License: GPL +Release: 566 +License: GPL v2 or later Group: System/Monitoring -Autoreqprov: on +AutoReqProv: on Summary: ACPI Watch: GUI and CLI for Watching /proc/acpi/* Source: %{name}-%{version}.tar.bz2 Source1: gtkacpiw.desktop Patch0: %{name}-%{version}.dif Patch1: %{name}-null.patch +Patch2: acpiw-0.75-optflags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -43,12 +45,13 @@ %setup -q %patch %patch1 -p1 +%patch2 %build -make EXTRA_CFLAGS="$RPM_OPT_FLAGS" +export CFLAGS="%optflags" +make %install -[ "%{buildroot}" != "/" ] && [ -d %{buildroot} ] && rm -rf %{buildroot} install -Dm 755 acpiw %{buildroot}/usr/bin/acpiw install -Dm 755 gtkacpiw %{buildroot}/usr/bin/gtkacpiw install -Dm 644 README %{buildroot}/%{_docdir}/%{name}/README @@ -62,16 +65,19 @@ /usr/share/applications/gtkacpiw.desktop %doc %{_docdir}/%{name} -%changelog -n acpiw -* Sun Feb 19 2006 - aj@suse.de +%changelog +* Tue May 06 2008 crrodriguez@suse.de +- fix for Feature No 300498 , use RPM_OPT_FLAGS everywhere. +- correct linking order and link "as-needed" +* Sun Feb 19 2006 aj@suse.de - Reduce BuildRequires. -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Sat Feb 05 2005 - meissner@suse.de +* Sat Feb 05 2005 meissner@suse.de - fixed gtk / glib NULL terminated args -* Sat Jan 10 2004 - adrian@suse.de +* Sat Jan 10 2004 adrian@suse.de - build as user -* Sat Aug 16 2003 - adrian@suse.de +* Sat Aug 16 2003 adrian@suse.de - add desktop file -* Sat Feb 08 2003 - zoz@suse.de +* Sat Feb 08 2003 zoz@suse.de - initial package: version 0.75 ++++++ acpiw-0.75-optflags.patch ++++++ Index: Makefile =================================================================== --- Makefile.orig 2002-11-24 18:45:33.000000000 +0100 +++ Makefile 2008-05-06 07:20:36.000000000 +0200 @@ -15,18 +15,18 @@ OTHER = acpi_on Makefile HISTORY TODO RE OLD_DIR = old CC = gcc -CFLAGS = -g -Wall +CFLAGS += -g -Wall GUI_CFLAGS = `pkg-config gtk+-2.0 --cflags` -LDFLAGS = -g -Wall +LDFLAGS = -Wl,--as-needed GUI_LDFLAGS = `pkg-config gtk+-2.0 --libs` all : gui text gui : $(OBJ) $(GUI_OBJ) - $(CC) $(LDFLAGS) $(GUI_LDFLAGS) -o gtkacpiw $(OBJ) $(GUI_OBJ) + $(CC) $(LDFLAGS) $(OBJ) $(GUI_OBJ) $(GUI_LDFLAGS) -o gtkacpiw text : $(OBJ) $(TEXT_OBJ) - $(CC) $(LDFLAGS) -o acpiw $(OBJ) $(TEXT_OBJ) + $(CC) $(LDFLAGS) $(OBJ) $(TEXT_OBJ) -o acpiw $(OBJ) : $(H) $(C) $(CC) $(CFLAGS) -c $(C) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org