Hello community, here is the log from the commit of package tinyxml2 for openSUSE:Factory checked in at 2016-07-12 23:53:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tinyxml2 (Old) and /work/SRC/openSUSE:Factory/.tinyxml2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tinyxml2" Changes: -------- --- /work/SRC/openSUSE:Factory/tinyxml2/tinyxml2.changes 2016-02-24 14:25:38.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.tinyxml2.new/tinyxml2.changes 2016-07-12 23:53:57.000000000 +0200 @@ -1,0 +2,9 @@ +Tue Jul 12 07:50:05 UTC 2016 - [email protected] + +- Cleanup spec file + * run spec-cleaner + * drop not needed dependencies (libtool and doxygen) + * execute tests during build + * use pretty name for tarball + +------------------------------------------------------------------- Old: ---- 3.0.0.tar.gz New: ---- tinyxml2-3.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tinyxml2.spec ++++++ --- /var/tmp/diff_new_pack.3ji8qN/_old 2016-07-12 23:53:58.000000000 +0200 +++ /var/tmp/diff_new_pack.3ji8qN/_new 2016-07-12 23:53:58.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package tinyxml2 # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,22 +17,19 @@ %define so_version 3 - +%define lib_package lib%{name}-%{so_version} Name: tinyxml2 Version: 3.0.0 Release: 0 -%define lib_package lib%{name}-%{so_version} Summary: A simple, small, C++ XML parser License: Zlib Group: Development/Libraries/C and C++ -Source: https://github.com/leethomason/tinyxml2/archive/%{version}.tar.gz Url: https://github.com/leethomason/tinyxml2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source: https://github.com/leethomason/tinyxml2/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake -BuildRequires: doxygen BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: pkg-config +BuildRequires: pkgconfig +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description TinyXML is a simple, small, C++ XML parser that can be easily integrating @@ -71,23 +68,24 @@ make %{?_smp_mflags} %install -cd build -%make_install -rm -f %{buildroot}%{_libdir}/*.la +%cmake_install +find %{buildroot} -type f -name "*.la" -delete -print -%post -n %{lib_package} -p /sbin/ldconfig +%check +make %{?_smp_mflags} test +%post -n %{lib_package} -p /sbin/ldconfig %postun -n %{lib_package} -p /sbin/ldconfig %files -n %{lib_package} %defattr(-,root,root) %doc readme.md -%{_libdir}/*.so.* +%{_libdir}/libtinyxml2.so.%{so_version}* %files devel %defattr(-,root,root) -%{_includedir}/* +%{_includedir}/tinyxml2.h +%{_libdir}/libtinyxml2.so %{_libdir}/pkgconfig/tinyxml2.pc -%{_libdir}/*.so %changelog
