diff --git a/lziprecover-1.20.tar.gz b/lziprecover-1.20.tar.gz deleted file mode 100644 index 4aaca27..0000000 --- a/lziprecover-1.20.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ffd79a038c9910c139a9339c1d9689320c927733c0a4998173a16daf7aabf63a -size 102574 diff --git a/lziprecover-1.20.tar.gz.sig b/lziprecover-1.20.tar.gz.sig deleted file mode 100644 index ad8b413..0000000 Binary files a/lziprecover-1.20.tar.gz.sig and /dev/null differ diff --git a/lziprecover-1.21-rc1.tar.gz b/lziprecover-1.21-rc1.tar.gz new file mode 100644 index 0000000..24dd8b5 --- /dev/null +++ b/lziprecover-1.21-rc1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:142cd920f8f504ca89def81958679dc36a420e4c8d9c2c14d8b738a009556f46 +size 113062 diff --git a/lziprecover.changes b/lziprecover.changes index b36da3c..f46a5fd 100644 --- a/lziprecover.changes +++ b/lziprecover.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri Dec 14 11:46:20 UTC 2018 - Jan Engelhardt + +- Update to new upstream release 1.21~rc1 + * The options '--dump', '--remove' and '--strip' have been + added, mainly as support for the tarlz archive format. + * Detection of forbidden combinations of characters in trailing + data has been improved. + * '--split' can now detect trailing data and gaps between + members, and save each gap in its own file. Trailing data (if + any) are saved alone in the last file. (Gaps may contain + garbage or may be members with corrupt headers or trailers). + * '--ignore-errors' now makes '--list' show gaps between + members, ignoring format errors. + * '--ignore-errors' now makes '--range-decompress' ignore a + truncated last member. + * '--ignore-errors' now makes '--dump', '--remove' and + '--strip' ignore format errors. + ------------------------------------------------------------------- Mon Mar 5 19:37:23 UTC 2018 - jengelh@inai.de diff --git a/lziprecover.spec b/lziprecover.spec index fb0d1af..2cb53cf 100644 --- a/lziprecover.spec +++ b/lziprecover.spec @@ -13,20 +13,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: lziprecover -Version: 1.20 +Version: 1.21~rc1 Release: 0 +%define xversion 1.21-rc1 Summary: Utility to repair broken lzip files License: GPL-2.0-or-later Group: Productivity/Archiving/Compression -Url: http://www.nongnu.org/lzip/lunzip.html - -Source: http://download.savannah.gnu.org/releases/lzip/lziprecover/%name-%version.tar.gz -Source2: http://download.savannah.gnu.org/releases/lzip/lziprecover/%name-%version.tar.gz.sig +URL: http://www.nongnu.org/lzip/lunzip.html +Source: http://download.savannah.gnu.org/releases/lzip/lziprecover/%name-%xversion.tar.gz +#Source2: http://download.savannah.gnu.org/releases/lzip/lziprecover/%name-%version.tar.gz.sig Source3: %name.keyring BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ @@ -53,34 +53,39 @@ Lziprecover can print correct total file sizes and ratios even for multi-member files. %prep -%setup -q +%autosetup -n %name-%xversion %build # not autoconf -install -d build -pushd build -../configure --srcdir=.. --prefix="%{_prefix}" --bindir="%{_bindir}" \ - --datarootdir="%{_datadir}" --infodir="%{_infodir}" \ - --mandir="%{_mandir}" CC="%__cc" CFLAGS="%{optflags}" +mkdir build +pushd build/ +../configure --prefix="%_prefix" --bindir="%_bindir" --datadir="%_datadir" \ + --infodir="%_infodir" --mandir="%_mandir" --sysconfdir="%_sysconfdir" \ + CC="%__cc" CFLAGS="%optflags" make %{?_smp_mflags} popd %install -pushd build -make install DESTDIR="%buildroot" +pushd build/ +%make_install +popd + +%check +pushd build/ +make check popd %post -%install_info --info-dir="%{_infodir}" "%{_infodir}/%{name}".info* +%install_info --info-dir="%_infodir" "%_infodir/%name".info* %postun -%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/%{name}".info* +%install_info_delete --info-dir="%_infodir" "%_infodir/%name".info* %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README -%{_bindir}/lziprecover -%doc %{_mandir}/man1/lziprecover.1* -%doc %{_infodir}/lziprecover.info* +%_bindir/lziprecover +%_mandir/man1/lziprecover.1* +%_infodir/lziprecover.info* %changelog