Hello community, here is the log from the commit of package mercurial for openSUSE:Factory checked in at 2018-11-12 09:50:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mercurial (Old) and /work/SRC/openSUSE:Factory/.mercurial.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "mercurial" Mon Nov 12 09:50:49 2018 rev:134 rq:647104 version:4.8 Changes: -------- --- /work/SRC/openSUSE:Factory/mercurial/mercurial.changes 2018-10-09 15:51:17.846486616 +0200 +++ /work/SRC/openSUSE:Factory/.mercurial.new/mercurial.changes 2018-11-12 09:51:10.188307382 +0100 @@ -1,0 +2,16 @@ +Tue Nov 6 18:48:37 UTC 2018 - Andrei Dziahel <develop7@develop7.info> + +- mercurial-4.8-python2-shebang.patch: fixes boo#1114895 +- explicitly depend on Python 2.7+ + +------------------------------------------------------------------- +Sat Nov 3 06:56:57 UTC 2018 - Andrei Dziahel <develop7@develop7.info> + +- Mercurial 4.8 + This is a regularly-scheduled quarterly feature release. + + See release overview at https://www.mercurial-scm.org/wiki/Release4.8 and + complete changelog at + https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.8_.282018-11-02.29 + +------------------------------------------------------------------- Old: ---- mercurial-4.7.2.tar.gz mercurial-4.7.2.tar.gz.asc New: ---- mercurial-4.8-python2-shebang.patch mercurial-4.8.tar.gz mercurial-4.8.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mercurial.spec ++++++ --- /var/tmp/diff_new_pack.FoFHKS/_old 2018-11-12 09:51:12.332304169 +0100 +++ /var/tmp/diff_new_pack.FoFHKS/_new 2018-11-12 09:51:12.336304163 +0100 @@ -20,7 +20,7 @@ %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %endif Name: mercurial -Version: 4.7.2 +Version: 4.8 Release: 0 Summary: Scalable Distributed SCM License: GPL-2.0-or-later @@ -36,12 +36,15 @@ Patch1: mercurial-docutils-compat.diff # PATCH-FIX-OPENSUSE mercurial-locale-path-fix.patch saschpe@suse.de -- locales are found in /usr/share/locale Patch2: mercurial-locale-path-fix.patch +# PATCH-FIX-OPENSUSE mercurial-4.8-python2-shebang.patch develop7@develop7.info sets shebang to python2 +Patch3: mercurial-4.8-python2-shebang.patch BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-xml -Requires: python Requires: python-curses Requires: python-xml +Requires: python(abi) < 3.0 +Requires: python(abi) >= 2.7 Recommends: %{name}-lang Provides: hg = %{version} %if 0%{?suse_version} < 1210 @@ -80,6 +83,8 @@ %patch1 %endif %patch2 -p1 +%patch3 -p0 + chmod 644 hgweb.cgi %build ++++++ mercurial-4.8-python2-shebang.patch ++++++ --- hg.orig +++ hg @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # mercurial - scalable distributed SCM # --- hgweb.cgi.orig +++ hgweb.cgi @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # An example hgweb CGI script, edit as necessary # See also https://mercurial-scm.org/wiki/PublishingRepositories ++++++ mercurial-4.7.2.tar.gz -> mercurial-4.8.tar.gz ++++++ /work/SRC/openSUSE:Factory/mercurial/mercurial-4.7.2.tar.gz /work/SRC/openSUSE:Factory/.mercurial.new/mercurial-4.8.tar.gz differ: char 5, line 1