Hello community,

here is the log from the commit of package libqt5-qtxmlpatterns for 
openSUSE:Factory checked in at 2014-02-18 16:18:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtxmlpatterns (Old)
 and      /work/SRC/openSUSE:Factory/.libqt5-qtxmlpatterns.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqt5-qtxmlpatterns"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/libqt5-qtxmlpatterns/libqt5-qtxmlpatterns.changes    
    2013-12-19 12:48:03.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.libqt5-qtxmlpatterns.new/libqt5-qtxmlpatterns.changes
   2014-02-18 16:18:51.000000000 +0100
@@ -1,0 +2,14 @@
+Mon Feb 10 11:09:15 UTC 2014 - [email protected]
+
+- Install LICENSE files to %doc 
+
+-------------------------------------------------------------------
+Wed Feb  5 17:07:24 UTC 2014 - [email protected]
+
+- Update to 5.2.1:
+  * For more details please see:
+    http://blog.qt.digia.com/blog/2014/02/05/qt-5-2-1-released/
+- Only create qt5 symlinks for binaries which conflict with
+  Qt4 version
+
+-------------------------------------------------------------------

Old:
----
  qtxmlpatterns-opensource-src-5.2.0.tar.xz

New:
----
  qtxmlpatterns-opensource-src-5.2.1.tar.xz

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

Other differences:
------------------
++++++ libqt5-qtxmlpatterns.spec ++++++
--- /var/tmp/diff_new_pack.fU6kgx/_old  2014-02-18 16:18:51.000000000 +0100
+++ /var/tmp/diff_new_pack.fU6kgx/_new  2014-02-18 16:18:51.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libqt5-qtxmlpatterns
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,32 @@
 #
 
 
+%define qt5_snapshot 0
+
 %define libname libQt5XmlPatterns5
 
 Name:           libqt5-qtxmlpatterns
-Version:        5.2.0
+Version:        5.2.1
 Release:        0
 Summary:        Qt 5 XmlPatterns Library
 License:        SUSE-LGPL-2.1-with-digia-exception-1.1 or GPL-3.0
 Group:          System/Libraries
 Url:            http://qt.digia.com
-Source:         %{tar_version}.tar.xz
 %define base_name libqt5
-%define real_version 5.2.0
-%define so_version 5.2.0
+%define real_version 5.2.1
+%define so_version 5.2.1
+%if %qt5_snapshot
+%define tar_version qtxmlpatterns-%{real_version}
+%else
 %define tar_version qtxmlpatterns-opensource-src-%{real_version}
-BuildRequires:  libqt5-qtbase-devel >= %{version}
-BuildRequires:  libqt5-qtbase-private-headers-devel >= %{version}
+%endif
+Source:         %{tar_version}.tar.xz
+BuildRequires:  libQt5Core-private-headers-devel >= %{version}
+BuildRequires:  pkgconfig(Qt5Network) >= %{version}
+%if %qt5_snapshot
+#to create the forwarding headers
+BuildRequires:  perl
+%endif
 BuildRequires:  xz
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -43,7 +53,11 @@
 handling.
 
 %prep
+%if %qt5_snapshot
+%setup -q -n qtxmlpatterns-%{real_version}
+%else
 %setup -q -n qtxmlpatterns-opensource-src-%{real_version}
+%endif
 
 %package -n %{libname}
 Summary:        Qt 5 XmlPatterns Library
@@ -59,10 +73,8 @@
 Summary:        Qt Development Kit
 Group:          Development/Libraries/C and C++
 Requires:       %libname = %{version}
-Requires:       libqt5-qtbase-devel >= %{version}
 Provides:       libQt5XmlPatterns-devel = %{version}
-# TODO: change to < on 5.2.1 update
-Obsoletes:      libQt5XmlPatterns-devel <= %{version}
+Obsoletes:      libQt5XmlPatterns-devel < %{version}
 
 %description devel
 You need this package, if you want to compile programs with QtXmlPatterns.
@@ -71,10 +83,9 @@
 Summary:        Non-ABI stable experimental API
 Group:          Development/Libraries/C and C++
 Requires:       %{name}-devel = %{version}
-Requires:       libqt5-qtbase-private-headers-devel >= %{version}
+Requires:       libQt5Core-private-headers-devel >= %{version}
 Provides:       libQt5XmlPatterns-private-headers-devel = %{version}
-# TODO: change to < on 5.2.1 update
-Obsoletes:      libQt5XmlPatterns-private-headers-devel <= %{version}
+Obsoletes:      libQt5XmlPatterns-private-headers-devel < %{version}
 
 %description private-headers-devel
 This package provides private headers of libqt5-qtxmlpatterns that are normally
@@ -87,38 +98,55 @@
 %postun -n %libname -p /sbin/ldconfig
 
 %build
+%if %qt5_snapshot
+#force the configure script to generate the forwarding headers (it checks 
whether .git directory exists)
+mkdir .git
+%endif
 %qmake5
 %make_jobs
 
 %install
 %qmake5_install
 
-# put all the binaries to %{_bindir}, add -qt5 suffix, and symlink them back 
to %_qt5_bindir
-mkdir %{buildroot}%{_bindir}
+# kill .la files
+rm -f %{buildroot}%{_libqt5_libdir}/lib*.la
+
+# put all the binaries to %%_bindir, add -qt5 suffix, and symlink them back to 
%%_qt5_bindir
+mkdir -p %{buildroot}%{_bindir}
 pushd %{buildroot}%{_libqt5_bindir}
 for i in * ; do
+  case "${i}" in
+    xmlpatterns|xmlpatternsvalidator)
       mv $i ../../../bin/${i}-qt5
       ln -s ../../../bin/${i}-qt5 .
       ln -s ../../../bin/${i}-qt5 $i
+      ;;
+   *)
+      mv $i ../../../bin/
+      ln -s ../../../bin/$i .
+      ;;
+  esac
 done
 popd
 
 %files -n %libname
 %defattr(-,root,root,755)
+%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL
 %{_bindir}/*
 %{_libqt5_bindir}/*
 %{_libqt5_libdir}/libQt5XmlPatterns.so.*
 
 %files private-headers-devel
 %defattr(-,root,root,755)
+%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL
 %{_libqt5_includedir}/QtXmlPatterns/%{so_version}
 
 %files devel
 %defattr(-,root,root,755)
+%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL
 %exclude %{_libqt5_includedir}/QtXmlPatterns/%{so_version}
 %{_libqt5_includedir}/QtXmlPatterns
 %{_libqt5_libdir}/cmake/Qt5XmlPatterns
-%{_libqt5_libdir}/libQt5XmlPatterns.la
 %{_libqt5_libdir}/libQt5XmlPatterns.prl
 %{_libqt5_libdir}/libQt5XmlPatterns.so
 %{_libqt5_libdir}/pkgconfig/Qt5XmlPatterns.pc

++++++ qtxmlpatterns-opensource-src-5.2.0.tar.xz -> 
qtxmlpatterns-opensource-src-5.2.1.tar.xz ++++++
++++ 9070 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to