- Update to new upstream release 1.21~rc1

OBS-URL: https://build.opensuse.org/package/show/Archiving/lziprecover?expand=0&rev=15
This commit is contained in:
Jan Engelhardt 2018-12-14 11:54:31 +00:00 committed by Git OBS Bridge
parent 3d3d79006d
commit 43d0f25f26
5 changed files with 46 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ffd79a038c9910c139a9339c1d9689320c927733c0a4998173a16daf7aabf63a
size 102574

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:142cd920f8f504ca89def81958679dc36a420e4c8d9c2c14d8b738a009556f46
size 113062

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Dec 14 11:46:20 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- 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

View File

@ -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