From 43d0f25f260e0013c39c3e3e294ca4930a58b85e21af7d74be5d2ceb761e19b8 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 14 Dec 2018 11:54:31 +0000 Subject: [PATCH] - Update to new upstream release 1.21~rc1 OBS-URL: https://build.opensuse.org/package/show/Archiving/lziprecover?expand=0&rev=15 --- lziprecover-1.20.tar.gz | 3 --- lziprecover-1.20.tar.gz.sig | Bin 72 -> 0 bytes lziprecover-1.21-rc1.tar.gz | 3 +++ lziprecover.changes | 19 ++++++++++++++++ lziprecover.spec | 43 ++++++++++++++++++++---------------- 5 files changed, 46 insertions(+), 22 deletions(-) delete mode 100644 lziprecover-1.20.tar.gz delete mode 100644 lziprecover-1.20.tar.gz.sig create mode 100644 lziprecover-1.21-rc1.tar.gz 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 ad8b4130bbbf250223db121bb0e0e2a2fc36d648618fbcbc6258d03749064519..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 72 zcmV-O0Jr~$Mg#y60ssaD0$PE#Yyb)g5Rd7V0~0NGLRlmLpt#qM#0@ + +- 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