Hello community,

here is the log from the commit of package global for openSUSE:Factory checked 
in at 2019-06-24 21:53:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/global (Old)
 and      /work/SRC/openSUSE:Factory/.global.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "global"

Mon Jun 24 21:53:34 2019 rev:55 rq:711692 version:6.6.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/global/global.changes    2019-03-26 
22:32:33.205703887 +0100
+++ /work/SRC/openSUSE:Factory/.global.new.4615/global.changes  2019-06-24 
21:54:16.556148281 +0200
@@ -1,0 +2,7 @@
+Mon Jun 24 10:17:15 UTC 2019 - Martin Pluskal <mplus...@suse.com>
+
+- Switch to python3
+- Update dependcies
+- Get rid of env usage
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ global.spec ++++++
--- /var/tmp/diff_new_pack.dpomlC/_old  2019-06-24 21:54:17.228148797 +0200
+++ /var/tmp/diff_new_pack.dpomlC/_new  2019-06-24 21:54:17.228148797 +0200
@@ -22,7 +22,7 @@
 Summary:        Common source code tag system
 License:        GPL-3.0-only
 Group:          Development/Tools/Navigators
-Url:            http://www.gnu.org/software/global/
+URL:            http://www.gnu.org/software/global/
 Source0:        ftp://ftp.gnu.org/pub/gnu/global/%{name}-%{version}.tar.gz
 Source1:        ftp://ftp.gnu.org/pub/gnu/global/%{name}-%{version}.tar.gz.sig
 Source2:        
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1#/%{name}.keyring
@@ -35,9 +35,11 @@
 BuildRequires:  fdupes
 BuildRequires:  idutils
 BuildRequires:  libtool
-BuildRequires:  ncurses-devel
-BuildRequires:  pkgconfig(python)
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(ncurses)
+BuildRequires:  pkgconfig(python3)
 BuildRequires:  pkgconfig(sqlite3)
+Requires:       python3-Pygments
 Requires(pre):  %{install_info_prereq}
 Requires(preun): %{install_info_prereq}
 Recommends:     ctags
@@ -59,7 +61,8 @@
 %configure \
        --disable-static \
        --with-sqlite3 \
-       --with-exuberant-ctags=%{_bindir}/ctags
+  --with-exuberant-ctags=%{_bindir}/ctags \
+  PYTHON=python3
 make %{?_smp_mflags}
 
 %install
@@ -69,6 +72,14 @@
 mv %{buildroot}/%{_docdir}/%{name}/gtags.conf %{buildroot}%{_sysconfdir}/
 rm -rf %{buildroot}/%{_docdir}/%{name}/INSTALL
 
+# use python3 by default
+sed -i "s|env python|python3|g" \
+  %{buildroot}%{_datadir}/gtags/script/pygments_parser.py
+
+# Do not use env
+sed -i "s|env perl|perl|g" \
+  %{buildroot}%{_datadir}/gtags/script/maps2conf.pl
+
 %fdupes -s %{buildroot}
 
 %post
@@ -78,7 +89,6 @@
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
 
 %files
-%defattr(-,root,root)
 %dir %{_datadir}/emacs
 %dir %{_datadir}/emacs/site-lisp
 %config(noreplace) %{_sysconfdir}/gtags.conf
@@ -90,15 +100,15 @@
 %{_bindir}/htags
 %{_bindir}/htags-server
 %doc %{_docdir}/%{name}
-%{_mandir}/man1/global.1%{ext_man}
-%{_mandir}/man1/globash.1%{ext_man}
-%{_mandir}/man1/gozilla.1%{ext_man}
-%{_mandir}/man1/gtags-cscope.1%{ext_man}
-%{_mandir}/man1/gtags.1%{ext_man}
-%{_mandir}/man1/htags-server.1%{ext_man}
-%{_mandir}/man1/htags.1%{ext_man}
-%{_mandir}/man5/gtags.conf.5%{ext_man}
-%{_infodir}/global.info%{ext_info}
+%{_mandir}/man1/global.1%{?ext_man}
+%{_mandir}/man1/globash.1%{?ext_man}
+%{_mandir}/man1/gozilla.1%{?ext_man}
+%{_mandir}/man1/gtags-cscope.1%{?ext_man}
+%{_mandir}/man1/gtags.1%{?ext_man}
+%{_mandir}/man1/htags-server.1%{?ext_man}
+%{_mandir}/man1/htags.1%{?ext_man}
+%{_mandir}/man5/gtags.conf.5%{?ext_man}
+%{_infodir}/global.info%{?ext_info}
 %{_datadir}/emacs/site-lisp/gtags.el
 %{_datadir}/gtags
 %{_libdir}/gtags




Reply via email to