Hello community, here is the log from the commit of package libspnav for openSUSE:Factory checked in at 2015-02-27 10:59:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libspnav (Old) and /work/SRC/openSUSE:Factory/.libspnav.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libspnav" Changes: -------- --- /work/SRC/openSUSE:Factory/libspnav/libspnav.changes 2014-10-05 20:32:43.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libspnav.new/libspnav.changes 2015-02-27 11:00:19.000000000 +0100 @@ -1,0 +2,8 @@ +Sat Feb 14 19:17:25 UTC 2015 - p.drouand@gmail.com + +- Update to version 0.2.3 + * No changelog available +- Add libspnav-0.2.3-lib_links.patch; fix libraries link against + $BUILDROOT + +------------------------------------------------------------------- Old: ---- libspnav-0.2.2.tar.bz2 New: ---- libspnav-0.2.3-lib_links.patch libspnav-0.2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libspnav.spec ++++++ --- /var/tmp/diff_new_pack.fs3hoK/_old 2015-02-27 11:00:20.000000000 +0100 +++ /var/tmp/diff_new_pack.fs3hoK/_new 2015-02-27 11:00:20.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libspnav # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2009,2011 Herbert Graeber # # All modifications and additions to the file contributed by third parties @@ -18,13 +18,14 @@ Name: libspnav -Version: 0.2.2 +Version: 0.2.3 Release: 0 Summary: Library for accessing 3D connexion devices License: BSD-3-Clause Group: Hardware/Other Url: http://sourceforge.net/projects/spacenav/ -Source: %{name}-%{version}.tar.bz2 +Source: http://sourceforge.net/projects/spacenav/files/spacenav%20library%20%28SDK%29/%{name}%20%{version}/%{name}-%{version}.tar.gz +Patch: libspnav-0.2.3-lib_links.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig(x11) @@ -82,20 +83,18 @@ %prep %setup -q +%patch -p1 %build +# Set libdir properly +sed -i "s/libdir=lib/libdir=%{_lib}/g" configure %configure -%__make opt="$RPM_OPT_FLAGS" +sed -i "s/CFLAGS =/CFLAGS +=/g" Makefile +make %{?_smp_mflags} %install -install -D -m 644 libspnav.so.0.1 $RPM_BUILD_ROOT%{_libdir}/libspnav.so.0.1 -install -D -m 644 spnav.h $RPM_BUILD_ROOT%{_includedir}/spnav.h -install -D -m 644 spnav_magellan.h $RPM_BUILD_ROOT%{_includedir}/spnav_magellan.h -install -D -m 644 spnav_config.h $RPM_BUILD_ROOT%{_includedir}/spnav_config.h -pushd $RPM_BUILD_ROOT%{_libdir} -ln -s libspnav.so.0.1 libspnav.so.0 -ln -s libspnav.so.0.1 libspnav.so -popd +make DESTDIR=%{buildroot} install +rm -f %{buildroot}%{_libdir}/*.a %post -n libspnav0 -p /sbin/ldconfig ++++++ libspnav-0.2.3-lib_links.patch ++++++ diff -Naur libspnav-0.2.3.orig/Makefile.in libspnav-0.2.3/Makefile.in --- libspnav-0.2.3.orig/Makefile.in 2014-08-17 20:38:31.000000000 -0500 +++ libspnav-0.2.3/Makefile.in 2014-08-18 13:02:08.243930849 -0500 @@ -54,9 +54,11 @@ cp $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) [ -n "$(soname)" ] && \ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) && \ - ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) && \ - ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) || \ - true + pushd $(DESTDIR)$(PREFIX)/$(libdir) && \ + ln -s $(lib_so) $(soname) && \ + ln -s $(soname) $(devlink) || \ + true && \ + popd for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; done .PHONY: uninstall -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org