Hello community, here is the log from the commit of package python-yaql for openSUSE:Factory checked in at 2019-12-04 13:49:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-yaql (Old) and /work/SRC/openSUSE:Factory/.python-yaql.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-yaql" Wed Dec 4 13:49:06 2019 rev:9 rq:743545 version:1.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-yaql/python-yaql.changes 2019-05-03 22:43:29.731376496 +0200 +++ /work/SRC/openSUSE:Factory/.python-yaql.new.4691/python-yaql.changes 2019-12-04 14:19:02.750370651 +0100 @@ -1,0 +2,5 @@ +Wed Oct 9 12:40:51 UTC 2019 - Thomas Bechtold <tbecht...@suse.com> + +- Cleanup specfile + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-yaql.spec ++++++ --- /var/tmp/diff_new_pack.CQy5n6/_old 2019-12-04 14:19:03.250371072 +0100 +++ /var/tmp/diff_new_pack.CQy5n6/_new 2019-12-04 14:19:03.258371079 +0100 @@ -16,34 +16,54 @@ # -%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.CQy5n6/_old 2019-12-04 14:19:03.286371103 +0100 +++ /var/tmp/diff_new_pack.CQy5n6/_new 2019-12-04 14:19:03.286371103 +0100 @@ -1,6 +1,6 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/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">cloud-de...@suse.de</param> <param name="changelog-provider">gh,openstack,yaql</param>