Hello community, here is the log from the commit of package libucl1 for openSUSE:Factory checked in at 2015-03-11 09:57:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libucl1 (Old) and /work/SRC/openSUSE:Factory/.libucl1.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libucl1" Changes: -------- --- /work/SRC/openSUSE:Factory/libucl1/libucl1.changes 2012-04-17 07:46:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libucl1.new/libucl1.changes 2015-03-11 09:57:18.000000000 +0100 @@ -1,0 +2,7 @@ +Sat Mar 7 08:50:40 UTC 2015 - [email protected] + +- Use url for source +- Cleanup spec file with spec-cleaner +- Do not include buildtime + +------------------------------------------------------------------- Old: ---- ucl-1.03.tar.bz2 New: ---- ucl-1.03.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libucl1.spec ++++++ --- /var/tmp/diff_new_pack.or5GGG/_old 2015-03-11 09:57:19.000000000 +0100 +++ /var/tmp/diff_new_pack.or5GGG/_new 2015-03-11 09:57:19.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libucl1 # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -19,14 +19,15 @@ Name: libucl1 Version: 1.03 Release: 0 -Source0: ucl-%{version}.tar.bz2 -Url: http://www.oberhumer.com/opensource/ucl/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: The UCL Compression Library License: GPL-2.0+ Group: System/Libraries +Url: http://www.oberhumer.com/opensource/ucl/ +Source0: http://www.oberhumer.com/opensource/ucl/download/ucl-%{version}.tar.gz +Source1: %{name}.changes Obsoletes: ucl < %{version} Provides: ucl = %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains portable lossless data compression library @@ -35,50 +36,50 @@ decompression. Decompression requires no additional memory. UCL is OpenSource reimplementation of some NRV compression algorithms. - - -Authors: --------- - Markus F.X.J. Oberhumer <[email protected]> - %package devel Summary: Development Files For UCL Library Group: Development/Libraries/C and C++ Requires: %{name} = %{version} -Requires: glibc-devel %description devel Headers and other development files for UCL library. %prep %setup -q -n ucl-%{version} +# remove _DATE_ and _TIME_ macros +modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE1}")" +DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" +TIME="\"$(date -d "${modified}" "+%%R")\"" +find . -name '*.[ch]' |\ + xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" %build -%configure --disable-static --enable-shared --with-pic -%{__make} %{?jobs:-j%jobs} +%configure \ + --disable-static \ + --enable-shared \ + --with-pic +make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT install -%{__rm} -f %{buildroot}%{_libdir}/*.la +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print %check -make check +make %{?_smp_mflags} check %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-, root, root) %{_libdir}/libucl.so.* -%doc COPYING NEWS INSTALL README THANKS TODO +%doc COPYING NEWS README THANKS TODO %files devel %defattr(-,root,root) -%{_prefix}/include/ucl +%doc COPYING +%{_includedir}/ucl %{_libdir}/libucl.so %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
