Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package wordcut for openSUSE:Factory checked in at 2021-08-25 20:56:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wordcut (Old) and /work/SRC/openSUSE:Factory/.wordcut.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wordcut" Wed Aug 25 20:56:39 2021 rev:19 rq:913856 version:0.5.1b2 Changes: -------- --- /work/SRC/openSUSE:Factory/wordcut/wordcut.changes 2014-10-06 22:04:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.wordcut.new.1899/wordcut.changes 2021-08-25 20:57:22.549226759 +0200 @@ -1,0 +2,7 @@ +Mon Aug 23 13:01:35 UTC 2021 - Jan Engelhardt <[email protected]> + +- Remove --with-pic which has no effect with --disable-static. +- Implement shared library policy. +- Delete practically empty documentation files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wordcut.spec ++++++ --- /var/tmp/diff_new_pack.7lMUcp/_old 2021-08-25 20:57:23.041226114 +0200 +++ /var/tmp/diff_new_pack.7lMUcp/_new 2021-08-25 20:57:23.045226108 +0200 @@ -1,7 +1,7 @@ # # spec file for package wordcut # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,68 +12,69 @@ # 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 lname libwordcut0 Name: wordcut -BuildRequires: libtool -BuildRequires: pkgconfig Version: 0.5.1b2 Release: 0 -Provides: locale(th) -Url: http://thaiwordseg.sourceforge.net/ +Summary: Thai word segmentation utility +License: BSD-3-Clause +Group: Development/Libraries/C and C++ +URL: http://thaiwordseg.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/thaiwordseg/wordcut/wordcut-%{version}/wordcut-%{version}.tar.bz2 Patch0: bugzilla-152315-locale-variable-used-before-set.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -Summary: Thai word segmentation utility. -License: BSD-3-Clause -Group: System/Libraries +BuildRequires: libtool +BuildRequires: pkgconfig +Provides: locale(th) %description Thai word segmentation utility. +%package -n %{lname} +Summary: Thai word segmentation utility +Group: System/Libraries + +%description -n %{lname} +Thai word segmentation utility. + %package devel -Summary: Include Files and Libraries mandatory for Development. +Summary: Header files for wordcut, a Thai word segmentation utility Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} glibc-devel +Requires: %{lname} = %{version} +Requires: glibc-devel %description devel -This package contains all necessary include files and libraries needed -to develop applications that require these. +This package contains files necessary to build against libwordcut. %prep -%setup -q -n %{name}-%{version} -%patch0 -p1 +%autosetup -p1 %build autoreconf --force --install --verbose -export CFLAGS="$RPM_OPT_FLAGS" -export CXXFLAGS="$RPM_OPT_FLAGS" -%configure --disable-static --with-pic -make %{_smp_mflags} +%configure --disable-static +%make_build %install -make DESTDIR=${RPM_BUILD_ROOT} install - -%clean -rm -rf $RPM_BUILD_ROOT +%make_install -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig %files -%defattr(-, root, root) -%doc AUTHORS COPYING NEWS README ChangeLog +%license COPYING %{_bindir}/* -%{_libdir}/libwordcut.so.* %dir %{_datadir}/wordcut/ %{_datadir}/wordcut/* +%files -n %{lname} +%{_libdir}/libwordcut.so.* + %files devel -%defattr(-, root, root) -/usr/include/* +%{_includedir}/* %{_libdir}/libwordcut.so %{_libdir}/pkgconfig/* %exclude %{_libdir}/*.la
