Hello community, here is the log from the commit of package gnome-code-assistance for openSUSE:Factory checked in at 2018-03-14 19:23:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-code-assistance (Old) and /work/SRC/openSUSE:Factory/.gnome-code-assistance.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gnome-code-assistance" Wed Mar 14 19:23:45 2018 rev:19 rq:584715 version:3.16.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-code-assistance/gnome-code-assistance.changes 2017-12-23 12:18:23.930764967 +0100 +++ /work/SRC/openSUSE:Factory/.gnome-code-assistance.new/gnome-code-assistance.changes 2018-03-14 19:23:46.977706932 +0100 @@ -1,0 +2,5 @@ +Wed Feb 28 16:27:36 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-code-assistance.spec ++++++ --- /var/tmp/diff_new_pack.tXBpji/_old 2018-03-14 19:23:48.021669867 +0100 +++ /var/tmp/diff_new_pack.tXBpji/_new 2018-03-14 19:23:48.045669015 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnome-code-assistance # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands. # # All modifications and additions to the file contributed by third parties @@ -21,9 +21,9 @@ Version: 3.16.1 Release: 0 Summary: Code Assistance Service for Code Editors -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Development/Tools/Other -Url: https://git.gnome.org/browse/gnome-code-assistance +URL: https://git.gnome.org/browse/gnome-code-assistance Source: http://download.gnome.org/sources/gnome-code-assistance/3.16/%{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM 0001-Add-libvala-0.36-support.patch dimstar@opensuse.org -- Add vala-0.36 support Patch0: 0001-Add-libvala-0.36-support.patch @@ -33,31 +33,30 @@ Patch2: 0005-Add-vala-0.38-support.patch # PATCH-FIX-UPSTREAM Add-vala-0.40-support.patch dimstar@opensuse.org -- Fix build with vala 0.40, from git Patch3: Add-vala-0.40-support.patch -# Generic build dependenciesa -BuildRequires: libtool -BuildRequires: pkgconfig(gio-2.0) # Python backend BuildRequires: dbus-1-python3 -BuildRequires: python3 -BuildRequires: python3-gobject -# C backend -%ifnarch ppc -BuildRequires: llvm-devel -%endif -# Ruby backend -BuildRequires: ruby >= 2.0 -BuildRequires: rubygem(ruby-dbus) # GJS Backend BuildRequires: gjs +# Generic build dependenciesa +BuildRequires: libtool # Vala backend BuildRequires: libvala-devel +BuildRequires: pkgconfig +BuildRequires: python3 +BuildRequires: python3-gobject +# Ruby backend +BuildRequires: ruby >= 2.0 BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(gio-2.0) >= 2.36 BuildRequires: pkgconfig(glib-2.0) >= 2.36 BuildRequires: pkgconfig(gobject-2.0) >= 2.36 BuildRequires: pkgconfig(vapigen) -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: rubygem(ruby-dbus) %glib2_gsettings_schema_requires +# C backend +%ifnarch ppc +BuildRequires: llvm-devel +%endif %description gnome-code-assistance provides common code assistance @@ -91,7 +90,7 @@ %make_install # fixup hasbangs of executable scripts, do not point to /usr/bin/env find %{buildroot}%{_libexecdir}/%{name} -type f -exec \ - sed -i "s|#!/usr/bin/env |#!/usr/bin/|" {} \; + sed -i "s|#!%{_bindir}/env |#!%{_bindir}/|" {} \; %if 0%{?suse_version} <= 1320 %post @@ -102,8 +101,8 @@ %endif %files -%defattr(-,root,root) -%doc ChangeLog README COPYING +%license COPYING +%doc ChangeLog README %{_datadir}/dbus-1/services/org.gnome.CodeAssist.v1.sh.service %{_datadir}/glib-2.0/schemas/org.gnome.codeassistance.gschema.xml %{_libexecdir}/%{name}/