Hello community,

here is the log from the commit of package pilot-link for openSUSE:Factory 
checked in at 2015-06-23 11:59:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pilot-link (Old)
 and      /work/SRC/openSUSE:Factory/.pilot-link.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pilot-link"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pilot-link/pilot-link.changes    2013-04-19 
10:55:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pilot-link.new/pilot-link.changes       
2015-06-23 11:59:30.000000000 +0200
@@ -1,0 +2,11 @@
+Sun Jun 21 01:38:29 UTC 2015 - [email protected]
+
+- add missing include to fix build with gcc5
+
+-------------------------------------------------------------------
+Sun Apr 12 18:14:43 UTC 2015 - [email protected]
+
+- Move udev rules to udevrulesdir, /etc/udev is reserved 
+  for sysadmin use.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ pilot-link.spec ++++++
--- /var/tmp/diff_new_pack.wcIXxD/_old  2015-06-23 11:59:30.000000000 +0200
+++ /var/tmp/diff_new_pack.wcIXxD/_new  2015-06-23 11:59:30.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pilot-link
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -26,6 +26,7 @@
 BuildRequires:  popt-devel
 BuildRequires:  python-devel
 BuildRequires:  readline-devel
+BuildRequires:  pkgconfig(udev)
 Url:            http://www.pilot-link.org/
 Version:        0.12.5
 Release:        0
@@ -171,6 +172,7 @@
 %build
 #%{?suse_update_config:%{suse_update_config -f scripts}}
 autoreconf -sfi
+sed -i 1i\ '#include <sys/socket.h>' libpisock/linuxusb.c 
 %configure --enable-threads --enable-conduits --enable-libusb --with-png=/usr 
--with-bluez --with-libiconv=/usr
 make
 #
@@ -186,9 +188,9 @@
 make DESTDIR=$RPM_BUILD_ROOT install
 #chmod a+x $RPM_BUILD_ROOT/%{_libdir}/libpisock.so*
 # drop udev rule somewhere else...
-mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d
+mkdir -p %{buildroot}%{_udevrulesdir}
 sed -i 's/modem/uucp/g' 
$RPM_BUILD_ROOT/usr/share/pilot-link/udev/60-libpisock.rules
-cp $RPM_BUILD_ROOT/usr/share/pilot-link/udev/60-libpisock.rules 
$RPM_BUILD_ROOT/etc/udev/rules.d
+cp $RPM_BUILD_ROOT/usr/share/pilot-link/udev/60-libpisock.rules  
%{buildroot}%{_udevrulesdir}
 mkdir -p $RPM_BUILD_ROOT/etc/profile.d
 echo -e '# use USB by default\nexport PILOTPORT="usb:"' > 
$RPM_BUILD_ROOT/etc/profile.d/pilot-link.sh
 rm $RPM_BUILD_ROOT/%{_libdir}/*.a
@@ -207,10 +209,9 @@
 make DESTDIR=$RPM_BUILD_ROOT install_vendor INSTALLDIRS=vendor
 %perl_process_packlist
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post -n libpisock9 -p /sbin/ldconfig
+%post -n libpisock9 
+/sbin/ldconfig
+%{?udev_rules_update}
 
 %post -n libpisync1 -p /sbin/ldconfig
 
@@ -236,9 +237,7 @@
 %files -n libpisock9
 %defattr(-,root,root)
 %{_libdir}/libpisock*.so.9*
-%dir /etc/udev
-%dir /etc/udev/rules.d
-%config /etc/udev/rules.d/*
+%{_udevrulesdir}/*.rules
 %attr(0644,root,root) /etc/profile.d/*
 
 %files -n libpisock-devel



Reply via email to