Hello community,

here is the log from the commit of package ltxml for openSUSE:Factory checked 
in at 2019-09-11 10:41:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ltxml (Old)
 and      /work/SRC/openSUSE:Factory/.ltxml.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ltxml"

Wed Sep 11 10:41:16 2019 rev:18 rq:729989 version:1.2.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/ltxml/ltxml.changes      2011-12-21 
10:01:27.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ltxml.new.7948/ltxml.changes    2019-09-11 
10:41:58.119203220 +0200
@@ -1,0 +2,7 @@
+Tue Sep 10 21:18:13 UTC 2019 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Use -ffat-lto-objects when building static libraries.
+- Run spec-cleaner
+- Trim the package summary
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ltxml.spec ++++++
--- /var/tmp/diff_new_pack.BL6JOe/_old  2019-09-11 10:41:58.543203144 +0200
+++ /var/tmp/diff_new_pack.BL6JOe/_new  2019-09-11 10:41:58.543203144 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ltxml
 #
-# Copyright (c) 2011 SUSE LINUX Products 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,26 +12,23 @@
 # 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/
 #
 
 
+%define pyltxml PyLTXML-1.3.tar.gz
 Name:           ltxml
-BuildRequires:  automake
-BuildRequires:  zlib-devel
-Summary:        LT XML: An Integrated Set of XML Tools
-License:        GPL-2.0+
-Group:          Productivity/Publishing/XML
 Version:        1.2.7
 Release:        0
-Requires:       python
-#Provides: 
-Url:            http://www.ltg.ed.ac.uk/software/ltxml/
+Summary:        Integrated Set of XML Tools
+License:        GPL-2.0-or-later
+Group:          Productivity/Publishing/XML
+URL:            https://www.ltg.ed.ac.uk/software/ltxml/
 Source0:        ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/ltxml-%{version}.tar.gz
-%define pyltxml PyLTXML-1.3.tar.gz
 Source1:        ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/PyLTXML-1.3.tar.gz
-#Patch: 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  automake
+BuildRequires:  zlib-devel
+Requires:       python
 
 %description
 LT XML is an integrated set of XML tools and a developers' tool kit,
@@ -54,14 +51,9 @@
 querying language, which allows the user to quickly and easily select
 those parts of an XML document which are of interest.
 
-
-
-Authors:
---------
-    Richard Tobin <rich...@cogsci.ed.ac.uk>
-
 %package devel
 Summary:        Include Files and Libraries mandatory for Development
+Group:          Development/Libraries/C and C++
 Requires:       ltxml
 #Provides: 
 
@@ -69,12 +61,6 @@
 This package contains all necessary include files and libraries needed
 to develop applications that require these.
 
-
-
-Authors:
---------
-    Richard Tobin <rich...@cogsci.ed.ac.uk>
-
 %define INSTALL install -m755 -s
 %define INSTALL_SCRIPT install -m755
 %define INSTALL_DIR install -d -m755
@@ -82,59 +68,50 @@
 
 %prep
 %setup -q
-#%setup -n pyltxml -c -a 1 -D -T
-mkdir pyltxml && cd pyltxml && tar xzf %{S:1}
-# %patch
+mkdir pyltxml && cd pyltxml && tar xzf %{SOURCE1}
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 pushd XML
 rm config.guess config.sub
-cp /usr/share/automake-*/config.{sub,guess} .
+cp %{_datadir}/automake-*/config.{sub,guess} .
 autoreconf --force --install
 popd
 mkdir build
 cd build
-CFLAGS="$RPM_OPT_FLAGS" \
+CFLAGS="%{optflags}" \
   ../XML/configure --prefix=%{_prefix} --mandir=%{_mandir} --libdir=%{_libdir}\
                    --enable-multi-byte
-make all CFLAGS="$RPM_OPT_FLAGS"
+make %{?_smp_mflags} all CFLAGS="%{optflags}"
 
 %check
 cd build
-make test CFLAGS="$RPM_OPT_FLAGS"
+make %{?_smp_mflags} test CFLAGS="%{optflags}"
 
 %install
 if [ ! "x" = "x$RPM_BUILD_ROOT" ] ; then
-   rm -fr $RPM_BUILD_ROOT
-   %{INSTALL_DIR} $RPM_BUILD_ROOT
+   %{INSTALL_DIR} %{buildroot}
 fi
 pushd build
-make install CFLAGS="$RPM_OPT_FLAGS" \
-             prefix=$RPM_BUILD_ROOT%{_prefix} \
-             libdir=$RPM_BUILD_ROOT%{_libdir} \
-             MANDIR=$RPM_BUILD_ROOT%{_mandir}
+make install CFLAGS="%{optflags}" \
+             prefix=%{buildroot}%{_prefix} \
+             libdir=%{buildroot}%{_libdir} \
+             MANDIR=%{buildroot}%{_mandir}
 # make install.man
 popd
 rm *.MAC
-strip $RPM_BUILD_ROOT%{_bindir}/* || :
-
-%clean
-rm -fr $RPM_BUILD_ROOT
+strip %{buildroot}%{_bindir}/* || :
 
 %files
-%defattr(-, root, root)
-%doc COPYING 00*
+%license COPYING
+%doc 00*
 %doc XML/doc/xmldoc.html
-%{_prefix}/bin/*
+%{_bindir}/*
 %{_mandir}/*/*
 %{_prefix}/lib/ltxml*
-#%{_prefix}/lib/lib*
-#%{_libdir}/ltxml*
-######%{_libdir}/lib*
 
 %files devel
-%defattr(-, root, root)
-%{_prefix}/include/*
+%{_includedir}/*
 %{_libdir}/lib*.a
 
 %changelog


Reply via email to