Hello community,

here is the log from the commit of package xzgv for openSUSE:Factory checked in 
at 2017-09-25 13:57:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xzgv (Old)
 and      /work/SRC/openSUSE:Factory/.xzgv.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xzgv"

Mon Sep 25 13:57:49 2017 rev:25 rq:527054 version:0.9.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/xzgv/xzgv.changes        2012-09-11 
09:22:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xzgv.new/xzgv.changes   2017-09-25 
13:57:50.576117800 +0200
@@ -1,0 +2,10 @@
+Sun Sep 17 07:37:07 UTC 2017 - aloi...@gmx.com
+
+- Update to version 0.9.2
+- Dropped xzgv-0.9.1-exif-orient.patch and
+  xzgv-0.9.1-as-needed.patch (merged upstream or no longer
+  necessary) and xzgv.desktop (already supplied)
+- Added xzgv-0.9.2-paths.patch
+- Spec cleanup
+
+-------------------------------------------------------------------

Old:
----
  xzgv-0.9.1-as-needed.patch
  xzgv-0.9.1-exif-orient.patch
  xzgv-0.9.1.tar.bz2
  xzgv.desktop

New:
----
  xzgv-0.9.2-paths.patch
  xzgv-0.9.2.tar.gz

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

Other differences:
------------------
++++++ xzgv.spec ++++++
--- /var/tmp/diff_new_pack.433l3m/_old  2017-09-25 13:57:52.095903971 +0200
+++ /var/tmp/diff_new_pack.433l3m/_new  2017-09-25 13:57:52.099903409 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xzgv
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,25 +17,25 @@
 
 
 Name:           xzgv
-BuildRequires:  gtk2-devel
-BuildRequires:  libexif-devel
-BuildRequires:  update-desktop-files
-%if 0%{suse_version} > 1220
-BuildRequires:  makeinfo
-%endif
-Url:            http://sourceforge.net/projects/xzgv
-Version:        0.9.1
+Version:        0.9.2
 Release:        0
 Summary:        A Fast Picture Viewer for the X Window System
 License:        GPL-2.0+
 Group:          Productivity/Graphics/Viewers
-Source:         %{name}-%{version}.tar.bz2
-Source1:        %name.desktop
-PreReq:         %install_info_prereq
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Patch:          xzgv-0.9.1-as-needed.patch
-Patch1:         xzgv-0.9.1-exif-orient.patch
+Url:            https://sourceforge.net/projects/xzgv
+Source:         
https://sourceforge.net/projects/xzgv/files/xzgv/%{version}/%{name}-%{version}.tar.gz
 Patch2:         xzgv-0.9.1-iconify.patch
+# PATCH-FIX-UPSTREAM xzgv-0.9.2-paths.patch -- create missing paths
+Patch3:         xzgv-0.9.2-paths.patch
+BuildRequires:  gtk2-devel
+BuildRequires:  libexif-devel
+%if 0%{?suse_version} > 1220
+BuildRequires:  makeinfo
+%endif
+BuildRequires:  update-desktop-files
+Requires(post): %{install_info_prereq}
+Requires(preun): %{install_info_prereq}
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Xzgv is a picture viewer for the X Window System with a thumbnail-based
@@ -47,23 +47,20 @@
 
 %prep
 %setup -q
-%patch
-%patch1
 %patch2
+%patch3 -p1
 
 %build
-sed -e "s/^CFLAGS=.*/CFLAGS=$RPM_OPT_FLAGS/;" < config.mk > config.mk.tmp
-mv config.mk.tmp config.mk
-make PREFIX=/usr
+sed -i "s/^CFLAGS=.*/CFLAGS=%{optflags}/;" config.mk
+make %{?_smp_mflags} PREFIX=%{_prefix}
 # Make all doesn't build the info, but we need it for make install
 # (fail the build when this is fixed)
 test ! -f doc/xzgv.info.gz
-make info PREFIX=/usr
+make %{?_smp_mflags} info PREFIX=%{_prefix}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make PREFIX=$RPM_BUILD_ROOT/usr install
-%suse_update_desktop_file -i %name Graphics Viewer
+make PREFIX=%{buildroot}%{_prefix} install
+%suse_update_desktop_file -i %{name} Graphics Viewer
 # Fix permission (fail the build when this is fixed)
 test -x %{buildroot}%{_mandir}/man1/xzgv.1
 chmod a-x %{buildroot}%{_mandir}/man1/xzgv.1
@@ -79,7 +76,8 @@
 %doc README AUTHORS COPYING NEWS TODO
 %{_bindir}/xzgv
 %{_datadir}/applications/xzgv.desktop
-%doc %{_mandir}/man1/xzgv.1.gz
-%doc %{_infodir}/xzgv.info.gz
+%{_datadir}/pixmaps/xzgv.xpm
+%{_mandir}/man1/xzgv.1%{ext_man}
+%{_infodir}/xzgv.info%{ext_info}
 
 %changelog

++++++ xzgv-0.9.2-paths.patch ++++++
Index: xzgv-0.9.2/src/Makefile
===================================================================
--- xzgv-0.9.2.orig/src/Makefile
+++ xzgv-0.9.2/src/Makefile
@@ -28,16 +28,14 @@ xzgv: $(OBJS)
        $(CC) -o xzgv $(OBJS) $(LDFLAGS)
 
 installdirs:
-       /bin/sh ../mkinstalldirs $(BINDIR)
+       /bin/sh ../mkinstalldirs $(BINDIR) $(DESKTOPDIR1) $(PIXMAPDIR)
 
 install: xzgv installdirs
        install xzgv $(BINDIR)
        chmod 755 $(BINDIR)/xzgv
        install xzgv.desktop $(DESKTOPDIR1)
-       install xzgv.desktop $(DESKTOPDIR2)
        install icon-64.xpm $(PIXMAPDIR)/xzgv.xpm
        chmod 644 $(DESKTOPDIR1)/xzgv.desktop
-       chmod 644 $(DESKTOPDIR2)/xzgv.desktop
        chmod 644 $(PIXMAPDIR)/xzgv.xpm
 
 uninstall:

Reply via email to