From 5d4d26772407c74ee9ab50efe1320d9b56488e1adfedc88b3290548bccc17191 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 6 Aug 2015 08:27:45 +0000 Subject: [PATCH] lzlib-1.7 OBS-URL: https://build.opensuse.org/package/show/Archiving/lzlib?expand=0&rev=12 --- lzlib-1.6.tar.gz | 3 --- lzlib-1.6.tar.gz.sig | Bin 65 -> 0 bytes lzlib-1.7.tar.gz | 3 +++ lzlib-1.7.tar.gz.sig | Bin 0 -> 65 bytes lzlib.changes | 13 +++++++++++++ lzlib.spec | 25 ++++++++++++------------- 6 files changed, 28 insertions(+), 16 deletions(-) delete mode 100644 lzlib-1.6.tar.gz delete mode 100644 lzlib-1.6.tar.gz.sig create mode 100644 lzlib-1.7.tar.gz create mode 100644 lzlib-1.7.tar.gz.sig diff --git a/lzlib-1.6.tar.gz b/lzlib-1.6.tar.gz deleted file mode 100644 index 5148333..0000000 --- a/lzlib-1.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c187ef5ffa9ffb01abaec667dda4d8c8b378291c68ad094c63bd75ee049e4780 -size 91734 diff --git a/lzlib-1.6.tar.gz.sig b/lzlib-1.6.tar.gz.sig deleted file mode 100644 index 3bb8db122c5d330dedbf5c1a097dd9c8fa3ec76b3180f567dfe5c4764f3ab265..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 65 zcmV-H0KWf-KLZ5-R0+n%kLi^I6D@Z_5dsSQ0HC5Ty_M`P_#=T{2Eo;f70uC5fUf|c XmaEP^dn?3dtUhyv%tFkw$qpltV^18y diff --git a/lzlib-1.7.tar.gz b/lzlib-1.7.tar.gz new file mode 100644 index 0000000..ec8ef65 --- /dev/null +++ b/lzlib-1.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88c919dbb16a8b5409fc8ccec31d3c604551d73e84cec8c964fd639452536214 +size 94257 diff --git a/lzlib-1.7.tar.gz.sig b/lzlib-1.7.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..4b47163498521478276cf4d270e0a8d760060c2a12ee9e0c84ef07d157f09748 GIT binary patch literal 65 zcmV-H0KWf-KLZ5-RjCZvkLi^I6D@Z_5dt)~0HB^DoZEn~*>=jG7Yoy5MBx(g*7N|N XhLVXLs # # All modifications and additions to the file contributed by third parties @@ -19,9 +19,9 @@ Name: lzlib -Version: 1.6 +%define lname liblz1 +Version: 1.7 Release: 0 -%define soname 1 Summary: LZMA Compression and Decompression Library License: GPL-2.0+ Group: Development/Libraries/C and C++ @@ -39,11 +39,11 @@ decompression functions, including integrity checking of the decompressed data. The compressed data format used by the library is the lzip format. -%package -n liblz%{soname} +%package -n %lname Summary: LZMA Compression and Decompression Library Group: System/Libraries -%description -n liblz%{soname} +%description -n %lname The lzlib compression library provides in-memory LZMA compression and decompression functions, including integrity checking of the decompressed data. The compressed data format used by the library is @@ -52,7 +52,7 @@ the lzip format. %package devel Summary: LZMA Compression and Decompression Library Group: Development/Libraries/C and C++ -Requires: liblz%{soname} = %{version} +Requires: %lname = %version Obsoletes: lzlib-devel < %version-%release Provides: lzlib-devel = %version-%release @@ -96,20 +96,19 @@ rm -f "%buildroot/%_libdir"/*.a %check make check -%post -n liblz%{soname} -p /sbin/ldconfig -%postun -n liblz%{soname} -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig %post devel -%install_info --info-dir="%{_infodir}" "%{_infodir}/%{name}".info%{ext_info} +%install_info --info-dir="%_infodir" "%_infodir/%name.info%ext_info" %postun devel -%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/%{name}".info%{ext_info} +%install_info_delete --info-dir="%_infodir" "%_infodir/%name.info%ext_info" -%files -n liblz%{soname} +%files -n %lname %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README -%{_libdir}/liblz.so.%{soname} -%{_libdir}/liblz.so.%{soname}.* +%{_libdir}/liblz.so.* %files devel %defattr(-,root,root)