Hello community, here is the log from the commit of package irda for openSUSE:Factory checked in at Sat Dec 26 12:15:08 CET 2009. -------- --- irda/irda.changes 2008-08-26 13:04:29.000000000 +0200 +++ /mounts/work_src_done/STABLE/irda/irda.changes 2009-11-26 19:37:26.000000000 +0100 @@ -1,0 +2,11 @@ +Thu Nov 26 18:51:46 CET 2009 - pth@suse.de + +- Call 'pkg-config --libs' after the objects to link (bnc#558534) +- Remove '-' from recursive make invocation to exit on errors + during build or install. +- Add Short-Description to the init file. +- Add a rpmlintrc file to suppres the erroneous warning about + buildroot usage. +- Don't pass paths to the linker where it will search by default. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- irda-exit_on_error.diff irda-fix_link_command.diff irda-irdaping_no_strict_aliasing.diff irda-no_std_paths.diff irda-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ irda.spec ++++++ --- /var/tmp/diff_new_pack.gR3jC7/_old 2009-12-26 12:14:31.000000000 +0100 +++ /var/tmp/diff_new_pack.gR3jC7/_new 2009-12-26 12:14:31.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package irda (Version 0.9.18) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 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 @@ -22,9 +22,9 @@ Url: http://irda.sourceforge.net Summary: Necessary Tools for Using the Infrared Port Version: 0.9.18 -Release: 196 +Release: 206 Group: Hardware/Other -License: GPL v2 or later +License: GPLv2+ BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on PreReq: %insserv_prereq %fillup_prereq @@ -39,9 +39,14 @@ Patch8: irda-0.9.18-buildroot.diff Patch9: irda-0.9.18-no-findchip-smc.diff Patch10: irda-optflags.diff +Patch11: irda-fix_link_command.diff +Patch12: irda-exit_on_error.diff +Patch13: irda-irdaping_no_strict_aliasing.diff +Patch14: irda-no_std_paths.diff Source1: 52-irda.rules Source2: irda-0.9.18.init Source3: irda-0.9.18.sysconfig +Source4: irda-rpmlintrc %description This package contains all necessary scripts and programs for setting up @@ -85,6 +90,10 @@ %patch8 %patch9 %patch10 +%patch11 +%patch12 +%patch13 +%patch14 %build make V=1 RPM_OPT_FLAGS="$RPM_OPT_FLAGS" INITD=%{_sysconfdir}/init.d ROOT="$RPM_BUILD_ROOT" all ++++++ irda-0.9.18.init ++++++ --- /var/tmp/diff_new_pack.gR3jC7/_old 2009-12-26 12:14:31.000000000 +0100 +++ /var/tmp/diff_new_pack.gR3jC7/_new 2009-12-26 12:14:31.000000000 +0100 @@ -18,6 +18,7 @@ # Required-Stop: $remote_fs $syslog # Default-Start: 3 5 # Default-Stop: 0 1 2 6 +# Short-Description: Prepare for IrDA use # Description: attaches /dev/ircomm to the IrDA port and starts detection ### END INIT INFO ++++++ irda-exit_on_error.diff ++++++ Don't use '-' to make make exit on error in subdir makes. Index: Makefile =================================================================== --- Makefile.orig 2009-11-26 18:36:55.000000000 +0100 +++ Makefile 2009-11-26 18:49:09.674873998 +0100 @@ -31,11 +31,11 @@ DIRS = irattach irdaping etc man irnetd CFLAGS= -O2 -W -Wall all: - @-(set -e ; for d in $(DIRS) ; do $(MAKE) $(MAKE_OUTPUT) -C $$d $@ ; done) + @(set -e ; for d in $(DIRS) ; do $(MAKE) $(MAKE_OUTPUT) -C $$d $@ ; done) install: - @-(set -e ; for d in $(DIRS) ; do $(MAKE) $(MAKE_OUTPUT) -C $$d $@ ; done) + @(set -e ; for d in $(DIRS) ; do $(MAKE) $(MAKE_OUTPUT) -C $$d $@ ; done) clean: ++++++ irda-fix_link_command.diff ++++++ Index: irdadump/Makefile =================================================================== --- irdadump/Makefile.orig 2009-11-26 18:36:55.000000000 +0100 +++ irdadump/Makefile 2009-11-26 18:40:47.323373041 +0100 @@ -20,7 +20,6 @@ SYS_LIBRARIES = SYS_LIBPATH = -L/usr/lib -L/usr/local/lib CFLAGS= $(RPM_OPT_FLAGS) -O2 -W -Wall -I. `pkg-config --cflags glib-2.0` - LIBIRDADUMP_OBJS = irdadump.o irlap.o irlmp.o obex.o ircomm.o netbuf.o capture.o IRDADUMP_OBJS = main.o @@ -40,7 +39,7 @@ lib_irdadump.a: $(LIBIRDADUMP_OBJS) irdadump: $(IRDADUMP_OBJS) $(LIBIRDADUMP_TARGET) $(prn_cc_o) - $(ECMD)$(CC) $(CFLAGS) `pkg-config --libs glib-2.0` -o $(IRDADUMP_TARGET) $< $(LIBIRDADUMP_TARGET) + $(ECMD)$(CC) $(CFLAGS) -o $(IRDADUMP_TARGET) $< $(LIBIRDADUMP_TARGET) `pkg-config --libs glib-2.0` .c.o: ++++++ irda-irdaping_no_strict_aliasing.diff ++++++ Index: irdaping/Makefile =================================================================== --- irdaping/Makefile.orig 2006-07-11 08:16:06.000000000 +0200 +++ irdaping/Makefile 2009-11-26 19:19:17.050370524 +0100 @@ -42,7 +42,7 @@ SYS_INCLUDES = -I/usr/include SYS_LIBRARIES = SYS_LIBPATH = -L/usr/lib -L/usr/local/lib -CFLAGS= $(RPM_OPT_FLAGS) $(SYS_INCLUDES) -Wall -Wstrict-prototypes +CFLAGS= $(RPM_OPT_FLAGS) $(SYS_INCLUDES) -Wall -Wstrict-prototypes -fno-strict-aliasing # # Files to make ++++++ irda-no_std_paths.diff ++++++ Index: irattach/Makefile =================================================================== --- irattach/Makefile.orig 2009-11-26 19:20:58.000000000 +0100 +++ irattach/Makefile 2009-11-26 19:30:01.626990378 +0100 @@ -31,7 +31,7 @@ RM = rm -f CFLAGS = $(RPM_OPT_FLAGS) -O2 -W -Wall -Wstrict-prototypes -Wshadow $(SYS_INCLUDES) SYS_INCLUDES = -I/usr/include -SYS_LIBPATH = -L/usr/lib -L/usr/local/lib +SYS_LIBPATH = INCLUDES = $(SYS_INCLUDES) -I../include/ LIBRARIES = $(SYS_LIBRARIES) Index: irdadump/Makefile =================================================================== --- irdadump/Makefile.orig 2009-11-26 19:20:58.000000000 +0100 +++ irdadump/Makefile 2009-11-26 19:30:33.010374107 +0100 @@ -17,7 +17,7 @@ LIBPATH = $(SYS_LIBPATH) # SYS_INCLUDES = -I/usr/include SYS_LIBRARIES = -SYS_LIBPATH = -L/usr/lib -L/usr/local/lib +SYS_LIBPATH = CFLAGS= $(RPM_OPT_FLAGS) -O2 -W -Wall -I. `pkg-config --cflags glib-2.0` LIBIRDADUMP_OBJS = irdadump.o irlap.o irlmp.o obex.o ircomm.o netbuf.o capture.o Index: irdaping/Makefile =================================================================== --- irdaping/Makefile.orig 2009-11-26 19:20:58.000000000 +0100 +++ irdaping/Makefile 2009-11-26 19:30:51.242793418 +0100 @@ -40,7 +40,7 @@ LIBPATH = $(SYS_LIBPATH) # SYS_INCLUDES = -I/usr/include SYS_LIBRARIES = -SYS_LIBPATH = -L/usr/lib -L/usr/local/lib +SYS_LIBPATH = CFLAGS= $(RPM_OPT_FLAGS) $(SYS_INCLUDES) -Wall -Wstrict-prototypes -fno-strict-aliasing Index: irsockets/Makefile =================================================================== --- irsockets/Makefile.orig 2006-07-11 08:16:06.000000000 +0200 +++ irsockets/Makefile 2009-11-26 19:31:36.095361594 +0100 @@ -40,7 +40,7 @@ LIBPATH = $(SYS_LIBPATH) # SYS_INCLUDES = -I/usr/include -I/usr/src/linux/include SYS_LIBRARIES = -SYS_LIBPATH = -L/usr/lib -L/usr/local/lib +SYS_LIBPATH = CFLAGS= $(SYS_INCLUDES) $(RPM_OPT_FLAGS) -O2 -Wall -Wstrict-prototypes Index: smcinit/Makefile =================================================================== --- smcinit/Makefile.orig 2009-11-26 19:20:58.000000000 +0100 +++ smcinit/Makefile 2009-11-26 19:32:16.598441120 +0100 @@ -14,7 +14,7 @@ LIBPATH = $(SYS_LIBPATH) # SYS_INCLUDES = -I/usr/include SYS_LIBRARIES = -SYS_LIBPATH = -L/usr/lib -L/usr/local/lib +SYS_LIBPATH = CFLAGS= $(RPM_OPT_FLAGS) -O2 -W -Wall -I. Index: tekram/Makefile =================================================================== --- tekram/Makefile.orig 2009-11-26 19:20:58.000000000 +0100 +++ tekram/Makefile 2009-11-26 19:34:08.806871746 +0100 @@ -31,16 +31,16 @@ RM = rm -f RM_CMD = $(RM) *.BAK *.bak *.o ,* *~ *.a -INCLUDES = $(SYS_INCLUDES) +INCLUDES = $(SYS_INCLUDES) -I../include LIBRARIES = $(SYS_LIBRARIES) LIBPATH = $(SYS_LIBPATH) # # System stuff # -SYS_INCLUDES = -I/usr/include -I../include +SYS_INCLUDES = -I/usr/include SYS_LIBRARIES = -SYS_LIBPATH = -L/usr/lib -L/usr/local/lib +SYS_LIBPATH = CFLAGS= $(RPM_OPT_FLAGS) -Wall -Wstrict-prototypes ++++++ irda-rpmlintrc ++++++ # This line is mandatory to access the configuration functions from Config import * addFilter("irda.* rpm-buildroot-usage") ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org