Hello community,
here is the log from the commit of package universal-ctags for openSUSE:Factory
checked in at 2019-08-28 18:35:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/universal-ctags (Old)
and /work/SRC/openSUSE:Factory/.universal-ctags.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "universal-ctags"
Wed Aug 28 18:35:24 2019 rev:2 rq:726521 version:0+git~c77db554
Changes:
--------
--- /work/SRC/openSUSE:Factory/universal-ctags/universal-ctags.changes
2018-11-26 10:29:02.749116680 +0100
+++
/work/SRC/openSUSE:Factory/.universal-ctags.new.7948/universal-ctags.changes
2019-08-28 18:35:24.909284404 +0200
@@ -1,0 +2,23 @@
+Mon Aug 26 12:53:42 UTC 2019 - Simon Schricker <[email protected]>
+
+- Update to version 0+git~c77db554:
+ * add .ada file extion
+ * add support for C++17 inline variables
+ * implement --excmd=combine locator option
+ * implement --_pretend-<NEWLANG>=<OLDLANG> option
+ * add .ldi file extension
+ * replace ant xml parser
+ * add new parser for Elixir language
+ * add new parser for TypeScript
+ * add new parser for Inko
+ * add new Moose subparser
+ * add new parser for NSIS
+ * add PACKCC compiler
+ * various bug and typo fixes
+- Add obs service for easier packaging
+- Use upstream tarball name as source name
+- Add update-alternatives handling for ctags
+- Create repoinfo.h so the resulting binary shows the git commit
+ sha as version, since upstream has no releases.
+
+-------------------------------------------------------------------
Old:
----
universal-ctags.tar.gz
New:
----
_service
ctags-0+git~c77db554.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ universal-ctags.spec ++++++
--- /var/tmp/diff_new_pack.650O3Q/_old 2019-08-28 18:35:25.521284298 +0200
+++ /var/tmp/diff_new_pack.650O3Q/_new 2019-08-28 18:35:25.521284298 +0200
@@ -1,7 +1,7 @@
#
# spec file for package universal-ctags
#
-# 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
@@ -17,13 +17,13 @@
Name: universal-ctags
-Version: 0+git~befcb88
+Version: 0+git~c77db554
Release: 0
Summary: A program to generate language tag files used with various
editors
License: GPL-2.0-only
Group: Development/Tools/Navigators
URL: https://github.com/universal-ctags/ctags
-Source: universal-ctags.tar.gz
+Source: ctags-%{version}.tar.xz
Patch1: 0001-Use-pandoc-instead-of-rst2pdf.patch
BuildRequires: autoconf
BuildRequires: automake
@@ -36,6 +36,9 @@
BuildRequires: python3-docutils
BuildRequires: texlive-fancyvrb
BuildRequires: texlive-latex-bin-bin
+BuildRequires: update-alternatives
+Requires(pre): update-alternatives
+Requires(post): update-alternatives
%description
Universal ctags, a maintained fork from Darren Hieberts project, generates tag
@@ -43,10 +46,11 @@
Emacs, Vim and several others.
%prep
-%setup -q -n ctags-master
+%setup -q -n ctags-%{version}
%patch1 -p1
%build
+echo '#define CTAGS_REPOINFO "%{version}"' > main/repoinfo.h
./autogen.sh
%configure
@@ -58,6 +62,22 @@
install -D -m 644 man/ctags.1 %{buildroot}/%{_mandir}/man1/universal-ctags.1
install -D -m 644 man/ctags-incompatibilities.7
%{buildroot}/%{_mandir}/man7/universal-ctags-incompatibilities.7
install -D -m 644 man/ctags-optlib.7
%{buildroot}/%{_mandir}/man7/universal-ctags-optlib.7
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+ln -s ctags %{buildroot}%{_bindir}/ctags
+ln -s ctags.1%{ext_man} %{buildroot}%{_mandir}/man1/ctags.1%{ext_man}
+ln -s ctags %{buildroot}%{_sysconfdir}/alternatives/ctags
+ln -s ctags.1%{ext_man}
%{buildroot}%{_sysconfdir}/alternatives/ctags.1%{ext_man}
+
+%post
+test -L %{_bindir}/ctags || rm -f %{_bindir}/ctags
+update-alternatives --install %{_bindir}/ctags ctags
%{_bindir}/universal-ctags 20 \
+ --slave %{_mandir}/man1/ctags.1.gz ctags.1
%{_mandir}/man1/universal-ctags.1.gz
+update-alternatives --auto ctags
+
+%preun
+if [ $1 -eq 0 ]; then
+ update-alternatives --remove ctags %{_bindir}/universal-ctags
+fi
%files
%license COPYING
@@ -65,5 +85,9 @@
%{_mandir}/man1/universal-ctags.1%{?ext_man}
%{_mandir}/man7/universal-ctags-incompatibilities.7%{?ext_man}
%{_mandir}/man7/universal-ctags-optlib.7%{?ext_man}
+%ghost %{_bindir}/ctags
+%ghost %{_mandir}/man1/ctags.1%{?ext_man}
+%ghost %{_sysconfdir}/alternatives/ctags
+%ghost %{_sysconfdir}/alternatives/ctags.1%{?ext_man}
%changelog
++++++ _service ++++++
<services>
<service mode="disabled" name="obs_scm">
<param name="scm">git</param>
<param name="url">https://github.com/universal-ctags/ctags.git</param>
<param name="versionformat">0+git~%h</param>
<param name="revision">master</param>
<param name="changesgenerate">enable</param>
</service>
<service mode="disabled" name="tar"/>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
</services>