commit ctemplate for openSUSE:Factory
Hello community, here is the log from the commit of package ctemplate for openSUSE:Factory checked in at 2014-11-24 11:14:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2014-05-26 14:40:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ctemplate.new/ctemplate.changes 2014-11-24 11:14:49.000000000 +0100 @@ -1,0 +2,11 @@ +Fri Nov 14 10:33:56 UTC 2014 - tchvatal@suse.com + +- Enable testsuite - 2 tests fail +- Cleanup a bit + +------------------------------------------------------------------- +Thu Nov 6 09:36:47 UTC 2014 - adrian@suse.de + +- so name did change to version 3, follow with library package name + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ctemplate.spec ++++++ --- /var/tmp/diff_new_pack.BSBHMJ/_old 2014-11-24 11:14:50.000000000 +0100 +++ /var/tmp/diff_new_pack.BSBHMJ/_new 2014-11-24 11:14:50.000000000 +0100 @@ -16,37 +16,42 @@ # +%define libname libctemplate3 Name: ctemplate +Version: 2.3 +Release: 0 Summary: Library for simple but powerful template language for C++ License: BSD-3-Clause Group: Development/Libraries/C and C++ -Version: 2.3 -Release: 0 -Url: http://code.google.com/p/google-ctemplate/ +Url: https://code.google.com/p/ctemplate/ +# Source needs to be grabbed from subversion Source: %{name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf +BuildRequires: automake BuildRequires: gcc-c++ +BuildRequires: libtool BuildRequires: pkg-config BuildRequires: python +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description CTemplate is a simple but powerful template language for C++. It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language. -%package -n libctemplate2 +%package -n %{libname} Summary: Library for simple but powerful template language for C++ Group: Development/Libraries/C and C++ -%description -n libctemplate2 +%description -n %{libname} CTemplate is a simple but powerful template language for C++. It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language. %package -n libctemplate-devel -Requires: libctemplate2 = %{version} Summary: Library for simple but powerful template language for C++ Group: Development/Libraries/C and C++ +Requires: %{libname} = %{version} %description -n libctemplate-devel CTemplate is a simple but powerful template language for C++. It @@ -55,28 +60,33 @@ %prep %setup -q -chmod -R u+w . %build -export verstring=`echo %{version} | sed 's|\.|:|'` -%configure --disable-static +autoreconf -fvi +%configure --disable-static --disable-silent-rules make %{?_smp_mflags} %install -%makeinstall -rm -f %{buildroot}/%{_libdir}/*.la +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print # remove not needed documentation (rpmlint recommended...) -rm %{buildroot}/usr/share/doc/%{name}-%{version}/README_windows.txt -rm %{buildroot}/usr/share/doc/%{name}-%{version}/INSTALL +rm %{buildroot}%{_datadir}/doc/%{name}-%{version}/README_windows.txt +rm %{buildroot}%{_datadir}/doc/%{name}-%{version}/INSTALL install -d %{buildroot}/%{_defaultdocdir}/%{name}-%{version} -mv %{buildroot}/usr/share/doc/%{name}-%{version}/* %{buildroot}/%{_defaultdocdir}/%{name}-%{version} +mv %{buildroot}%{_datadir}/doc/%{name}-%{version}/* %{buildroot}/%{_defaultdocdir}/%{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 || : -%post -n libctemplate2 -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig -%postun -n libctemplate2 -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig -%files -n libctemplate2 +%files -n %{libname} %defattr(-,root,root) %{_libdir}/*.so.* %dir %{_defaultdocdir}/%{name}-%{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de