Hello community, here is the log from the commit of package python-yaql for openSUSE:Leap:15.2 checked in at 2020-03-09 18:11:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-yaql (Old) and /work/SRC/openSUSE:Leap:15.2/.python-yaql.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-yaql" Mon Mar 9 18:11:28 2020 rev:16 rq:777302 version:1.1.3 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-yaql/python-yaql.changes 2020-01-15 15:54:39.579639733 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-yaql.new.26092/python-yaql.changes 2020-03-09 18:11:29.577207508 +0100 @@ -1,0 +2,10 @@ +Wed Oct 9 12:40:51 UTC 2019 - Thomas Bechtold <[email protected]> + +- Cleanup specfile + +------------------------------------------------------------------- +Mon Apr 8 13:50:09 UTC 2019 - Dirk Mueller <[email protected]> + +- switch to stable/stein spec template + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-yaql.spec ++++++ --- /var/tmp/diff_new_pack.bq3Ofd/_old 2020-03-09 18:11:29.849207898 +0100 +++ /var/tmp/diff_new_pack.bq3Ofd/_new 2020-03-09 18:11:29.853207904 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-yaql # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,38 +12,58 @@ # 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/ # -%global sname yaql +%global oldpython python Name: python-yaql Version: 1.1.3 Release: 0 Summary: YAQL - Yet Another Query Language License: Apache-2.0 Group: Development/Languages/Python -URL: https://launchpad.net/%{sname} -Source0: https://files.pythonhosted.org/packages/source/y/%{sname}/%{sname}-%{version}.tar.gz +URL: https://launchpad.net/yaql +Source0: https://files.pythonhosted.org/packages/source/y/yaql/yaql-1.1.3.tar.gz BuildRequires: openstack-macros # for testing -BuildRequires: python-Sphinx -BuildRequires: python-devel -BuildRequires: python-fixtures -BuildRequires: python-oslosphinx -BuildRequires: python-pbr -BuildRequires: python-ply -BuildRequires: python-python-dateutil -BuildRequires: python-python-subunit -BuildRequires: python-six -BuildRequires: python-testrepository -BuildRequires: python-testscenarios -BuildRequires: python-testtools +BuildRequires: python2-Sphinx +BuildRequires: python2-fixtures +BuildRequires: python2-oslosphinx +BuildRequires: python2-pbr +BuildRequires: python2-ply +BuildRequires: python2-python-dateutil +BuildRequires: python2-python-subunit +BuildRequires: python2-six +BuildRequires: python2-testrepository +BuildRequires: python2-testscenarios +BuildRequires: python2-testtools +BuildRequires: python3-Sphinx +BuildRequires: python3-fixtures +BuildRequires: python3-oslosphinx +BuildRequires: python3-pbr +BuildRequires: python3-ply +BuildRequires: python3-python-dateutil +BuildRequires: python3-python-subunit +BuildRequires: python3-six +BuildRequires: python3-testrepository +BuildRequires: python3-testscenarios +BuildRequires: python3-testtools Requires: python-Babel Requires: python-ply Requires: python-python-dateutil Requires: python-six +Conflicts: %{oldpython}-yaql < %version-%release BuildArch: noarch +%if 0%{?suse_version} +Requires(post): update-alternatives +Requires(postun): update-alternatives +%else +# on RDO, update-alternatives is in chkconfig +Requires(post): chkconfig +Requires(postun): chkconfig +%endif +%python_subpackages %description YAQL (Yet Another Query Language) is an embeddable and extensible query @@ -53,23 +73,32 @@ written in python and is distributed via PyPI. %prep -%autosetup -n yaql-%{version} +%autosetup -p1 -n yaql-1.1.3 %py_req_cleanup %build -%py2_build +%{python_build} %install -%py2_install +%{python_install} +%python_clone -a %{buildroot}%{_bindir}/yaql + +%post +%{python_install_alternative yaql} + +%postun +%python_uninstall_alternative yaql %check -%{__python2} setup.py testr +%{python_expand rm -rf .testrepository +$python setup.py testr +} -%files +%files %{python_files} %license LICENSE %doc ChangeLog README.rst -%{_bindir}/yaql -%{python2_sitelib}/%{sname} -%{python2_sitelib}/%{sname}*.egg-info +%python_alternative %{_bindir}/yaql +%{python_sitelib}/yaql +%{python_sitelib}/yaql*.egg-info %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.bq3Ofd/_old 2020-03-09 18:11:29.873207932 +0100 +++ /var/tmp/diff_new_pack.bq3Ofd/_new 2020-03-09 18:11:29.873207932 +0100 @@ -1,6 +1,6 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/rocky/openstack/yaql/yaql.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/openstack/yaql/yaql.spec.j2</param> <param name="output-name">python-yaql.spec</param> <param name="changelog-email">[email protected]</param> <param name="changelog-provider">gh,openstack,yaql</param>
