Hello community, here is the log from the commit of package subtitleeditor for openSUSE:Factory checked in at 2018-03-26 13:11:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/subtitleeditor (Old) and /work/SRC/openSUSE:Factory/.subtitleeditor.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "subtitleeditor" Mon Mar 26 13:11:42 2018 rev:2 rq:590803 version:0.54.0 Changes: -------- --- /work/SRC/openSUSE:Factory/subtitleeditor/subtitleeditor.changes 2017-08-24 18:38:25.575490501 +0200 +++ /work/SRC/openSUSE:Factory/.subtitleeditor.new/subtitleeditor.changes 2018-03-26 13:11:54.994249075 +0200 @@ -1,0 +2,5 @@ +Sat Mar 24 06:43:43 UTC 2018 - [email protected] + +- Fixed build wrt enchant and compiler + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ subtitleeditor.spec ++++++ --- /var/tmp/diff_new_pack.3MQAna/_old 2018-03-26 13:11:56.742186222 +0200 +++ /var/tmp/diff_new_pack.3MQAna/_new 2018-03-26 13:11:56.742186222 +0200 @@ -1,7 +1,7 @@ # # spec file for package subtitleeditor # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define _sover 0 Name: subtitleeditor Version: 0.54.0 @@ -26,13 +27,12 @@ Url: https://github.com/kitone/subtitleeditor Source0: https://github.com/kitone/subtitleeditor/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: automake -BuildRequires: enchant-devel BuildRequires: fdupes -%if 0%{?suse_version} > 1320 +%if 0%{?suse_version} >= 1500 BuildRequires: gcc-c++ %else -BuildRequires: gcc5 -BuildRequires: gcc5-c++ +BuildRequires: gcc7 +BuildRequires: gcc7-c++ %endif BuildRequires: glibmm2-devel BuildRequires: gstreamer-devel @@ -43,8 +43,8 @@ BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: update-desktop-files +BuildRequires: pkgconfig(enchant) BuildRequires: pkgconfig(libxml++-2.6) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Subtitle Editor is a GTK+3 tool to edit subtitles. @@ -74,10 +74,10 @@ %setup -q %build -%if 0%{?suse_version} <= 1320 -export CC=gcc-5 -export CXX=g++-5 -%endif +export CC=gcc +export CXX=g++ +test -x "$(type -p gcc-7)" && export CC=gcc-7 +test -x "$(type -p g++-7)" && export CXX=g++-7 autoreconf -fiv %configure make %{?_smp_mflags} @@ -93,8 +93,8 @@ %postun -n lib%{name}%{_sover} -p /sbin/ldconfig %files -%defattr(-,root,root) -%doc ChangeLog COPYING README +%doc ChangeLog README +%license COPYING %{_bindir}/%{name} %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop @@ -113,11 +113,9 @@ %files lang -f %{name}.lang %files -n lib%{name}-devel -%defattr(-,root,root) %{_libdir}/lib%{name}.so %files -n lib%{name}%{_sover} -%defattr(-,root,root) %{_libdir}/lib%{name}.so.%{_sover}* %changelog
