Hello community, here is the log from the commit of package lsvpd for openSUSE:Factory checked in at 2015-04-22 01:19:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lsvpd (Old) and /work/SRC/openSUSE:Factory/.lsvpd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lsvpd" Changes: -------- --- /work/SRC/openSUSE:Factory/lsvpd/lsvpd.changes 2014-09-10 17:02:40.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lsvpd.new/lsvpd.changes 2015-04-22 01:19:42.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Apr 20 17:01:27 UTC 2015 - [email protected] + +- Use url for source +- Cleanup spec file with spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lsvpd.spec ++++++ --- /var/tmp/diff_new_pack.Oqy2yk/_old 2015-04-22 01:19:43.000000000 +0200 +++ /var/tmp/diff_new_pack.Oqy2yk/_new 2015-04-22 01:19:43.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package lsvpd # -# Copyright (c) 2014 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 @@ -23,18 +23,18 @@ License: GPL-2.0+ Group: System/Monitoring Url: http://sourceforge.net/projects/linux-diag/ -Source0: %{name}-%{version}.tar.gz +Source0: http://sourceforge.net/projects/linux-diag/files/lsvpd-new/%{version}/%{name}-%{version}.tar.gz +Patch0: lsvpd.no-return-in-nonvoid-function.patch BuildRequires: gcc-c++ BuildRequires: librtas-devel BuildRequires: libvpd2-devel BuildRequires: sg3_utils-devel BuildRequires: zlib-devel +Requires: /bin/sed Requires(pre): %fillup_prereq Requires(pre): %insserv_prereq -Requires: /bin/sed BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: ppc ppc64 ppc64le -Patch0: lsvpd.no-return-in-nonvoid-function.patch %description The lsvpd package contains both the lsvpd, lscfg and lsmcode commands. @@ -51,15 +51,12 @@ %patch0 -p1 %build -export CFLAGS="%{optflags} -UPCI_IDS -DPCI_IDS='\"/usr/share/pci.ids\"' -UUSB_IDS -DUSB_IDS='\"/usr/share/usb.ids\"'" -export CXXFLAGS="%{optflags} -UPCI_IDS -DPCI_IDS='\"/usr/share/pci.ids\"' -UUSB_IDS -DUSB_IDS='\"/usr/share/usb.ids\"'" +export CFLAGS="%{optflags} -UPCI_IDS -DPCI_IDS='\"%{_datadir}/pci.ids\"' -UUSB_IDS -DUSB_IDS='\"%{_datadir}/usb.ids\"'" +export CXXFLAGS="%{optflags} -UPCI_IDS -DPCI_IDS='\"%{_datadir}/pci.ids\"' -UUSB_IDS -DUSB_IDS='\"%{_datadir}/usb.ids\"'" %configure make %{?_smp_mflags} chmod 644 README* COPYING NEWS -%clean -rm -rf %{buildroot} - %install %make_install mkdir %{buildroot}/sbin @@ -67,21 +64,21 @@ do if test -f %{buildroot}%{_sbindir}/$i then - ln -sfvbn ../usr/sbin/$i %{buildroot}/sbin/$i + ln -sfvbn ..%{_sbindir}/$i %{buildroot}/sbin/$i fi done -if [ -e /etc/udev/rules.d/99-lsvpd.rules ] ; then - rm /etc/udev/rules.d/99-lsvpd.rules +if [ -e %{_sysconfdir}/udev/rules.d/99-lsvpd.rules ] ; then + rm %{_sysconfdir}/udev/rules.d/99-lsvpd.rules fi -if [ -e /etc/udev/rules.d/99-lsvpd.disabled ] ; then - rm /etc/udev/rules.d/99-lsvpd.disabled +if [ -e %{_sysconfdir}/udev/rules.d/99-lsvpd.disabled ] ; then + rm %{_sysconfdir}/udev/rules.d/99-lsvpd.disabled fi %post -if [ -d /var/lib/lsvpd ] ; then - rm -rf /var/lib/lsvpd +if [ -d %{_localstatedir}/lib/lsvpd ] ; then + rm -rf %{_localstatedir}/lib/lsvpd fi -/usr/sbin/vpdupdate +%{_sbindir}/vpdupdate exit 0 %files
