Hello community, here is the log from the commit of package tre for openSUSE:Factory checked in at 2020-02-03 11:27:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tre (Old) and /work/SRC/openSUSE:Factory/.tre.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tre" Mon Feb 3 11:27:14 2020 rev:15 rq:769489 version:0.8.0_git201402282055 Changes: -------- --- /work/SRC/openSUSE:Factory/tre/tre.changes 2018-01-19 11:54:51.770973628 +0100 +++ /work/SRC/openSUSE:Factory/.tre.new.26092/tre.changes 2020-02-03 11:27:16.570138901 +0100 @@ -1,0 +2,5 @@ +Thu Jan 30 14:03:39 UTC 2020 - Ondřej Súkup <[email protected]> + +- remove python2 bindings + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tre.spec ++++++ --- /var/tmp/diff_new_pack.apWTRS/_old 2020-02-03 11:27:17.186138927 +0100 +++ /var/tmp/diff_new_pack.apWTRS/_new 2020-02-03 11:27:17.186138927 +0100 @@ -1,7 +1,7 @@ # # spec file for package tre # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # 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/ # @@ -22,7 +22,7 @@ Summary: POSIX compatible regexp library with approximate matching License: BSD-3-Clause Group: System/Libraries -Url: http://laurikari.net/tre/ +URL: https://laurikari.net/tre/ # This source comes from https://github.com/laurikari/tre/, revision # c2f5d130c91b1696385a6ae0b5bcfd5214bcc9ca. The previously released # version 0.8.0 is old (2009) and no new released have been made by @@ -35,9 +35,6 @@ Patch2: CVE-2016-8859.patch BuildRequires: gettext-devel BuildRequires: libtool -BuildRequires: pkgconfig -BuildRequires: python-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description TRE is a lightweight, robust, and efficient POSIX compatible regexp @@ -48,9 +45,9 @@ Summary: POSIX compatible regexp library with approximate matching Group: System/Libraries Requires: %{name} = %{version} +Recommends: %{name}-lang = %{version} Obsoletes: libtre Provides: libtre -Recommends: %{name}-lang = %{version} %description -n libtre5 TRE is a lightweight, robust, and efficient POSIX compatible regexp @@ -58,7 +55,6 @@ matching. %post -n libtre5 -p /sbin/ldconfig - %postun -n libtre5 -p /sbin/ldconfig %package devel @@ -81,16 +77,8 @@ agrep is another powerful grep which has the ability to search for approximate patterns as well as block oriented search. -%package -n python-%{name} -Summary: Python bindings for the tre library -Group: System/Libraries - -%description -n python-%{name} -This package contains the python bindings for the TRE library. - %lang_package - %prep %setup -q %patch0 -p1 @@ -101,47 +89,32 @@ %build %configure --disable-static --enable-shared make %{?_smp_mflags} -pushd python -python setup.py build -popd %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} -pushd python -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -popd +%make_install find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} || echo -n >> %{name}.lang +%check +make check %{?_smp_mflags} + %files -%defattr (-, root, root) -%doc ABOUT-NLS AUTHORS LICENSE NEWS README THANKS TODO +%license LICENSE +%doc ABOUT-NLS AUTHORS NEWS README THANKS TODO %files -n libtre5 -%defattr (-, root, root) %{_libdir}/libtre.so.* %files devel -%defattr (-, root, root) %doc doc/default.css doc/tre-api.html doc/tre-syntax.html %{_includedir}/* %{_libdir}/libtre.so %{_libdir}/pkgconfig/* %files -n agrep -%defattr (-, root, root) %{_bindir}/agrep -%{_mandir}/man1/agrep.1.gz - -%files -n python-%{name} -%defattr (-, root, root) -%{python_sitearch}/tre.so -%{python_sitearch}/*.egg-info +%{_mandir}/man1/agrep.1%{?ext_man} %files lang -f %{name}.lang -%defattr(-,root,root,-) - -%check -make check %{?_smp_mflags} %changelog
