Hello community,

here is the log from the commit of package isight-firmware-tools for 
openSUSE:Factory checked in at 2015-04-07 09:29:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/isight-firmware-tools (Old)
 and      /work/SRC/openSUSE:Factory/.isight-firmware-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "isight-firmware-tools"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/isight-firmware-tools/isight-firmware-tools.changes  
    2013-05-13 14:57:50.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.isight-firmware-tools.new/isight-firmware-tools.changes
 2015-04-07 09:29:19.000000000 +0200
@@ -1,0 +2,9 @@
+Fri Apr  3 08:12:36 UTC 2015 - [email protected]
+
+- Cleanup spec file with spec-cleaner
+- Use udev macros from systemd-rpm-macros
+- Update info rules
+- Add gpg signature
+- Use url for source
+
+-------------------------------------------------------------------

New:
----
  isight-firmware-tools-1.6.tar.gz.asc
  isight-firmware-tools.keyring

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

Other differences:
------------------
++++++ isight-firmware-tools.spec ++++++
--- /var/tmp/diff_new_pack.NEB56Q/_old  2015-04-07 09:29:19.000000000 +0200
+++ /var/tmp/diff_new_pack.NEB56Q/_new  2015-04-07 09:29:19.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package isight-firmware-tools
 #
-# 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
@@ -16,6 +16,8 @@
 #
 
 
+%define _udevdir %(pkg-config --variable=udevdir udev)
+%define _udevrulesdir %{_udevdir}/rules.d
 Name:           isight-firmware-tools
 Version:        1.6
 Release:        0
@@ -23,20 +25,26 @@
 License:        GPL-2.0
 Group:          Amusements/Toys/Graphics
 Url:            http://bersace03.free.fr/ift/
-Source:         isight-firmware-tools-%{version}.tar.gz
+Source0:        
https://launchpad.net/isight-firmware-tools/main/%{version}/+download/isight-firmware-tools-%{version}.tar.gz
+Source1:        
https://launchpad.net/isight-firmware-tools/main/%{version}/+download/isight-firmware-tools-%{version}.tar.gz.asc
+Source2:        %{name}.keyring
 Patch0:         isight-firmware-tools-older_isight-1.6.0.diff
 Patch1:         isight-ft-udev.patch
+BuildRequires:  autoconf
 BuildRequires:  automake
-BuildRequires:  gcc
 BuildRequires:  intltool
 BuildRequires:  libgcrypt-devel
+BuildRequires:  libtool
 BuildRequires:  libusb-devel
 BuildRequires:  pkgconfig
+BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(udev)
+Requires(post): %{install_info_prereq}
+Requires(preun): %{install_info_prereq}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%define _udevdir %(pkg-config --variable=udevdir udev)
-%define _udevrulesdir %{_udevdir}/rules.d
+%{?systemd_requires}
+
 %description
 This project provide tools to manipulate firmware for Built-in iSight
 found on Apple machine since iMac G5 iSight
@@ -45,13 +53,14 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+
 %build
-autoreconf -fiv
+autoreconf -fi
 %configure
 make %{?_smp_mflags}
 
 %install
-%makeinstall
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 %find_lang %{name}
 
 rm -f %{buildroot}%{_infodir}/dir
@@ -59,27 +68,23 @@
 mkdir -p %{buildroot}%{_docdir}
 mv %{buildroot}%{_datadir}/doc/isight-firmware-tools 
%{buildroot}%{_docdir}/isight-firmware-tools
 
-%clean
-rm -rf %{buildroot}
-
 %post
-/sbin/install-info %{_infodir}/ift-extract.info %{_infodir}/dir || :
-/sbin/install-info %{_infodir}/ift-export.info %{_infodir}/dir || :
+%install_info --info-dir=%{_infodir} %{_infodir}/ift-extract.info.gz
+%install_info --info-dir=%{_infodir} %{_infodir}/ift-export.info.gz
+%{udev_rules_update}
 
 %preun
-if [ $1 = 0 ] ; then
-  /sbin/install-info --delete %{_infodir}/ift-extract.info %{_infodir}/dir || :
-  /sbin/install-info --delete %{_infodir}/ift-export.info %{_infodir}/dir || :
-fi
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/ift-extract.info.gz
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/ift-export.info.gz
 
 %files -f %{name}.lang
 %defattr(-,root,root)
 %{_udevrulesdir}/isight.rules
-%dir %{_datadir}/doc/packages/%{name}
+%dir %{_docdir}/%{name}
 %{_bindir}/ift-export
 %{_bindir}/ift-extract
 %{_udevdir}/ift-load
-%doc %{_datadir}/doc/packages/%{name}/HOWTO
+%doc %{_docdir}/%{name}/HOWTO
 %{_infodir}/*
 %{_mandir}/man1/*.1%{ext_man}
 


Reply via email to