Hello community, here is the log from the commit of package xmgrace for openSUSE:Factory checked in at 2019-09-16 10:53:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xmgrace (Old) and /work/SRC/openSUSE:Factory/.xmgrace.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xmgrace" Mon Sep 16 10:53:07 2019 rev:9 rq:731050 version:5.1.25 Changes: -------- --- /work/SRC/openSUSE:Factory/xmgrace/xmgrace.changes 2017-05-20 10:12:13.716045674 +0200 +++ /work/SRC/openSUSE:Factory/.xmgrace.new.7948/xmgrace.changes 2019-09-16 10:53:09.115150864 +0200 @@ -1,0 +2,6 @@ +Mon Sep 9 12:49:08 UTC 2019 - Christophe Giboudeaux <christo...@krop.fr> + +- Use -ffat-lto-objects to build xmgrace. +- Run spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xmgrace.spec ++++++ --- /var/tmp/diff_new_pack.jLENme/_old 2019-09-16 10:53:09.867150767 +0200 +++ /var/tmp/diff_new_pack.jLENme/_new 2019-09-16 10:53:09.871150767 +0200 @@ -1,7 +1,7 @@ # # spec file for package xmgrace # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,40 +12,40 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: xmgrace -BuildRequires: libpng-devel -BuildRequires: libtiff-devel -BuildRequires: openmotif-devel -BuildRequires: update-desktop-files -BuildRequires: xorg-x11 -BuildRequires: pkgconfig(x11) -BuildRequires: pkgconfig(xext) -BuildRequires: pkgconfig(xt) Version: 5.1.25 Release: 0 Summary: A 2D-Plot-Program for Visualisation of Scientific Data -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Graphics/Visualization/Graph +URL: http://plasma-gate.weizmann.ac.il/Grace/ Source: ftp://ftp.fu-berlin.de/unix/graphics/grace/src/grace5/grace-%{version}.tar.gz -Source1: %name.desktop +Source1: %{name}.desktop Source2: xmgrace.png Patch0: xmgrace-null.patch Patch1: xmgrace-strip.patch Patch2: xmgrace-help.patch Patch3: reproducible.patch -Url: http://plasma-gate.weizmann.ac.il/Grace/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libpng-devel +BuildRequires: libtiff-devel +BuildRequires: openmotif-devel +BuildRequires: pkgconfig +BuildRequires: update-desktop-files +BuildRequires: xorg-x11 +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xt) %description Grace is a WYSIWYG 2D plotting tool for the X Window System and M*tif. Grace is a descendant of ACE/gr, also known as Xmgr. It knows a lot of different graph types and supports a lot of output formats. -For examples, see /usr/lib/xmgrace/examples. +For examples, see %{_prefix}/lib/xmgrace/examples. %package devel Summary: Grace library @@ -60,29 +60,30 @@ For further information consult the main package. %prep -%setup -n grace-%{version} -%patch0 -p0 +%setup -q -n grace-%{version} +%patch0 %patch1 %patch2 %patch3 -p1 %build -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=/usr/%{_lib} --enable-grace-home=/usr/%{_lib}/xmgrace --bindir=/usr/bin --with-helpviewer="/usr/bin/desktop-launch %s" --mandir=%{_mandir} +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects +%configure \ + --enable-grace-home=%{_libdir}/xmgrace \ + --with-helpviewer="%{_bindir}/desktop-launch %{s}" make %{?_smp_mflags} %install -# rm -rf %{_defaultdocdir}/xmgrace -# rm -rf /usr/%{_lib}/xmgrace -make DESTDIR=%{buildroot} install +%make_install make DESTDIR=%{buildroot} install links mkdir -p %{buildroot}/%{_defaultdocdir}/xmgrace -rm -rf %{buildroot}/usr/man -mkdir -p %{buildroot}/usr/share/man/man1 -rm -f %{buildroot}/usr/share/man/man1/*.1 -mv %{buildroot}/usr/%{_lib}/xmgrace/doc/*.1 %{buildroot}/usr/share/man/man1 -mv %{buildroot}/usr/%{_lib}/xmgrace/doc %{buildroot}/%{_defaultdocdir}/xmgrace +rm -rf %{buildroot}%{_prefix}/man +mkdir -p %{buildroot}%{_mandir}/man1 +rm -f %{buildroot}%{_mandir}/man1/*.1 +mv %{buildroot}%{_libdir}/xmgrace/doc/*.1 %{buildroot}%{_mandir}/man1 +mv %{buildroot}%{_libdir}/xmgrace/doc %{buildroot}/%{_defaultdocdir}/xmgrace %if "%{_lib}" == "lib64" -mv %{buildroot}/usr/lib/libgrace_np.a %{buildroot}/usr/%{_lib} +mv %{buildroot}%{_prefix}/lib/libgrace_np.a %{buildroot}%{_libdir} %endif cp CHANGES COPYRIGHT ChangeLog DEVELOPERS LICENSE README %{buildroot}/%{_defaultdocdir}/xmgrace install -dm 755 %{buildroot}/%{_datadir}/pixmaps @@ -92,10 +93,9 @@ %suse_update_desktop_file -r %{buildroot}%{_datadir}/applications/xmgrace.desktop Education Science Math %files -%defattr(-,root,root) +%license LICENSE %doc %{_defaultdocdir}/xmgrace -%doc /usr/share/man/man1/* -# %{_defaultdocdir}/xmgrace +%{_mandir}/man1/* %{_libdir}/xmgrace %{_bindir}/gracebat %{_bindir}/xmgrace @@ -104,7 +104,7 @@ %{_datadir}/pixmaps/*png %files -n xmgrace-devel -%defattr(-,root,root) +%license LICENSE %{_includedir}/grace_np.h %{_libdir}/libgrace_np.a