Hello community, here is the log from the commit of package ctemplate for openSUSE:Factory checked in at 2017-01-16 11:15:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ctemplate (Old) and /work/SRC/openSUSE:Factory/.ctemplate.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ctemplate" Changes: -------- --- /work/SRC/openSUSE:Factory/ctemplate/ctemplate.changes 2015-04-23 08:04:08.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ctemplate.new/ctemplate.changes 2017-01-16 11:16:00.935562366 +0100 @@ -1,0 +2,7 @@ +Sun Jan 8 12:13:02 UTC 2017 - mpluskal@suse.com + +- Packaging cleanup + * Let test fail on error + * Move documentation to devel package + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ctemplate.spec ++++++ --- /var/tmp/diff_new_pack.z4Nv07/_old 2017-01-16 11:16:03.423209682 +0100 +++ /var/tmp/diff_new_pack.z4Nv07/_new 2017-01-16 11:16:03.423209682 +0100 @@ -1,7 +1,7 @@ # # spec file for package ctemplate # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,7 +16,8 @@ # -%define libname libctemplate3 +%define sover 3 +%define libname lib%{name}%{sover} Name: ctemplate Version: 2.3 Release: 0 @@ -26,7 +27,7 @@ Url: https://github.com/OlafvdSpek/ctemplate Source: https://github.com/OlafvdSpek/ctemplate/archive/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: python BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -64,38 +65,35 @@ make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install find %{buildroot} -type f -name "*.la" -delete -print -# remove not needed documentation (rpmlint recommended...) -rm %{buildroot}%{_datadir}/doc/%{name}-%{version}/README_windows.txt -rm %{buildroot}%{_datadir}/doc/%{name}-%{version}/INSTALL -install -d %{buildroot}/%{_defaultdocdir}/%{name}-%{version} -mv %{buildroot}%{_datadir}/doc/%{name}-%{version}/* %{buildroot}/%{_defaultdocdir}/%{name}-%{version} +# remove not needed documentation +rm -rf %{buildroot}%{_datadir}/doc/%{name}-%{version} %check -# 2 tests fail: seems while creating tmp files it dies -# FAIL: template_cache_test -# FAIL: template_nothreads_unittest -make %{?_smp_mflags} check || : +make %{?_smp_mflags} check %post -n %{libname} -p /sbin/ldconfig - %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %defattr(-,root,root) -%{_libdir}/*.so.* -%dir %{_defaultdocdir}/%{name}-%{version} -%{_defaultdocdir}/%{name}-%{version}/[A-Z]* +%doc COPYING AUTHORS +%{_libdir}/libctemplate.so.%{sover}* +%{_libdir}/libctemplate_nothreads.so.%{sover}* %files -n libctemplate-devel %defattr(-,root,root) -%{_bindir}/* -%{_libdir}/*.so -%{_libdir}/pkgconfig/*.pc +%doc doc/*.html ChangeLog COPYING AUTHORS +%{_bindir}/diff_tpl_auto_escape +%{_bindir}/make_tpl_varnames_h +%{_bindir}/template-converter %dir %{_includedir}/ctemplate %{_includedir}/ctemplate/*.h -%{_defaultdocdir}/%{name}-%{version}/[a-z]* +%{_libdir}/libctemplate.so +%{_libdir}/libctemplate_nothreads.so +%{_libdir}/pkgconfig/libctemplate.pc +%{_libdir}/pkgconfig/libctemplate_nothreads.pc %changelog