Hello community, here is the log from the commit of package pyzy for openSUSE:Factory checked in at 2013-11-24 13:23:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pyzy (Old) and /work/SRC/openSUSE:Factory/.pyzy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pyzy" Changes: -------- --- /work/SRC/openSUSE:Factory/pyzy/pyzy.changes 2013-07-08 21:45:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pyzy.new/pyzy.changes 2013-11-24 13:23:38.000000000 +0100 @@ -1,0 +2,12 @@ +Sat Nov 23 04:19:45 UTC 2013 - [email protected] + +- Resolve build problems with old automake: add patch autofix.diff +- Write down pyzy version requirements into specfile's BuildRequires + +------------------------------------------------------------------- +Tue Nov 12 05:23:40 UTC 2013 - [email protected] + +- Have the database subpackages own their parent paths, so that + they get properly removed when the package is + +------------------------------------------------------------------- New: ---- autofix.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pyzy.spec ++++++ --- /var/tmp/diff_new_pack.aDZlRp/_old 2013-11-24 13:23:39.000000000 +0100 +++ /var/tmp/diff_new_pack.aDZlRp/_new 2013-11-24 13:23:39.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package pyzy # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -15,27 +15,32 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: pyzy Version: 1.0git20120805 -Release: 1 +Release: 0 Summary: The Chinese PinYin and Bopomofo conversion library License: LGPL-2.1 Group: System/I18n/Chinese -URL: http://code.google.com/p/pyzy +Url: http://code.google.com/p/pyzy + Source0: %{name}-%{version}.tar.gz Source1: pyzy-database-1.0.0.tar.bz2 Source2: pinyin-database-1.2.99.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: glib2-devel +Patch1: autofix.diff +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gcc-c++ +BuildRequires: glib2-devel >= 2.24.0 +BuildRequires: gnome-common +BuildRequires: googletest-devel BuildRequires: libtool -BuildRequires: pkgconfig -BuildRequires: sqlite sqlite-devel BuildRequires: libuuid-devel -BuildRequires: googletest-devel +BuildRequires: opencc +BuildRequires: opencc-devel +BuildRequires: pkgconfig +BuildRequires: sqlite +BuildRequires: sqlite-devel BuildRequires: wget -BuildRequires: gcc-c++ -BuildRequires: opencc opencc-devel -BuildRequires: gnome-common Requires: opencc # Requires(post): sqlite @@ -82,6 +87,7 @@ %prep %setup -q +%patch -P 1 -p1 cp %{SOURCE1} data/db/open-phrase cp %{SOURCE2} data/db/open-phrase @@ -99,9 +105,6 @@ make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT%{_libdir}/*.la -%clean -rm -rf $RPM_BUILD_ROOT - %post -n lib%{name}-1_0-0 -p /sbin/ldconfig %postun -n lib%{name}-1_0-0 -p /sbin/ldconfig @@ -123,10 +126,14 @@ %files db-open-phrase %defattr(-,root,root,-) +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/db %{_datadir}/%{name}/db/open-phrase.db %files db-android %defattr(-,root,root,-) +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/db %{_datadir}/%{name}/db/android.db %changelog ++++++ autofix.diff ++++++ From: Jan Engelhardt <[email protected]> Date: 2013-11-23 05:16:43.764865702 +0100 build: resolve build errors with old automake Sufficiently old automake does not know AM_SILENT_RULES (>= 1.11) or AM_COND_IF (>= v1.10b). --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: pyzy-1.0git20120805/configure.ac =================================================================== --- pyzy-1.0git20120805.orig/configure.ac +++ pyzy-1.0git20120805/configure.ac @@ -34,7 +34,7 @@ m4_define([pyzy_version], pyzy_major_version.pyzy_minor_version.pyzy_micro_version[]pyzy_maybe_datestamp) m4_define([pyzy_api_version], [1.0]) -AC_PREFEQ([2.62]) +AC_PREREQ([2.62]) AC_INIT([pyzy], [pyzy_version], [http://code.google.com/p/pyzy/issues/entry], [pyzy]) @@ -52,7 +52,7 @@ AC_GNU_SOURCE # Support silent build rules. Disable # by either passing --disable-silent-rules to configure or passing V=1 # to make -AM_SILENT_RULES([yes]) +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) # Define sustituted variables: PYZY_MAJOR_VERSION=pyzy_major_version @@ -196,7 +196,7 @@ if test -z "$DOXYGEN"; then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support]) fi AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"]) -AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([docs/Doxyfile])]) +AS_IF([test -n "$DOXYGEN"], [AC_CONFIG_FILES([docs/Doxyfile])]) # OUTPUT files AC_CONFIG_FILES([ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
