Hello community, here is the log from the commit of package lzop for openSUSE:Factory checked in at 2015-03-16 06:53:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lzop (Old) and /work/SRC/openSUSE:Factory/.lzop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "lzop" Changes: -------- --- /work/SRC/openSUSE:Factory/lzop/lzop.changes 2012-01-09 11:15:55.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.lzop.new/lzop.changes 2015-03-16 06:53:35.000000000 +0100 @@ -1,0 +2,8 @@ +Fri Mar 13 13:06:40 UTC 2015 - mpluskal@suse.com + +- Cleanup spec file with spec-cleaner +- Use url for source +- Cleanup dependencies +- Remove _DATE_ and _TIME_ usage + +------------------------------------------------------------------- Old: ---- lzop-1.03.tar.bz2 New: ---- lzop-1.03.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lzop.spec ++++++ --- /var/tmp/diff_new_pack.WAQ0WC/_old 2015-03-16 06:53:36.000000000 +0100 +++ /var/tmp/diff_new_pack.WAQ0WC/_new 2015-03-16 06:53:36.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package lzop # -# 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 @@ -15,22 +15,18 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: lzop Version: 1.03 Release: 0 Summary: The fastest compressor and decompressor around License: GPL-2.0+ Group: Productivity/Archiving/Compression -Source: lzop-%{version}.tar.bz2 Url: http://www.lzop.org -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: gcc -BuildRequires: glibc-devel -BuildRequires: libtool +Source0: http://www.lzop.org/download/%{name}-%{version}.tar.gz +Source1: %{name}.changes BuildRequires: lzo-devel -BuildRequires: make +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description lzop is a file compressor similar to gzip. Its main advantages over gzip @@ -44,18 +40,18 @@ %prep %setup -q +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 -export CPPFLAGS="-I/usr/include/lzo" -export LDFLAGS="-L%{_libdir}" %configure -%__make %{?jobs:-j%{jobs}} +make %{?_smp_mflags} %install -%makeinstall - -%clean -%__rm -rf "%{buildroot}" +make DESTDIR=%{buildroot} install %{?_smp_mflags} %files %defattr(-,root,root) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org