[packages/libarchive] up to 3.7.1

atler atler at pld-linux.org
Sun Jul 30 19:30:06 CEST 2023


commit f63cc85684a883f8b11ffd9d29a61f922127d893
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Jul 30 19:06:20 2023 +0200

    up to 3.7.1

 libarchive-pc.patch | 12 ------------
 libarchive.spec     | 27 +++++++++++++++++++++------
 2 files changed, 21 insertions(+), 18 deletions(-)
---
diff --git a/libarchive.spec b/libarchive.spec
index e7c9347..fb3cc64 100644
--- a/libarchive.spec
+++ b/libarchive.spec
@@ -5,20 +5,19 @@
 Summary:	Multi-format archive and compression library
 Summary(pl.UTF-8):	Biblioteka do archiwizacji i kompresji w wielu formatach
 Name:		libarchive
-Version:	3.6.2
-Release:	2
+Version:	3.7.1
+Release:	1
 License:	BSD
 Group:		Libraries
 # see main page, downloads index may be out of date
 #Source0Download: http://www.libarchive.org/
 Source0:	https://www.libarchive.org/downloads/%{name}-%{version}.tar.xz
-# Source0-md5:	72cbb3c085624c825f627bfc8f52ce53
+# Source0-md5:	11a217b523dcdd178490bdb1f83353f3
 Patch0:		%{name}-man_progname.patch
-Patch1:		%{name}-pc.patch
 URL:		http://www.libarchive.org/
 BuildRequires:	acl-devel
 BuildRequires:	attr-devel
-BuildRequires:	autoconf >= 2.69
+BuildRequires:	autoconf >= 2.71
 BuildRequires:	automake >= 1:1.11
 BuildRequires:	bzip2-devel
 # for <ext2fs/ext2_fs.h>
@@ -129,10 +128,21 @@ bsdtar - tar(1) implementation based on libarchive.
 %description -n bsdtar -l pl.UTF-8
 bsdtar - implementacja programu tar(1), oparta na libarchive.
 
+%package -n bsdunzip
+Summary:	bsdunzip - unzip(1) implementation based on libarchive
+Summary(pl.UTF-8):	bsdunzip - implementacja programu unzip(1) oparta na libarchive
+Group:		Applications/Archiving
+Requires:	%{name} = %{version}-%{release}
+
+%description -n bsdunzip
+bsdunzip - unzip(1) implementation based on libarchive.
+
+%description -n bsdunzip -l pl.UTF-8
+bsdunzip - implementacja programu unzip(1), oparta na libarchive.
+
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{__libtoolize}
@@ -206,3 +216,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/bsdtar
 %{_mandir}/man1/bsdtar.1*
+
+%files -n bsdunzip
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/bsdunzip
+%{_mandir}/man1/bsdunzip.1*
diff --git a/libarchive-pc.patch b/libarchive-pc.patch
deleted file mode 100644
index fa5f9c6..0000000
--- a/libarchive-pc.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- libarchive-3.6.2/configure.ac.orig	2022-12-09 14:38:44.000000000 +0100
-+++ libarchive-3.6.2/configure.ac	2023-01-04 20:42:49.082195258 +0100
-@@ -378,7 +378,9 @@ if test "x$with_iconv" != "xno"; then
-     AC_CHECK_HEADERS([localcharset.h])
-     am_save_LIBS="$LIBS"
-     LIBS="${LIBS} ${LIBICONV}"
-+    if test "x${LIBICONV}" != x ; then
-     LIBSREQUIRED="$LIBSREQUIRED${LIBSREQUIRED:+ }iconv"
-+    fi
-     AC_CHECK_FUNCS([locale_charset])
-     LIBS="${am_save_LIBS}"
-     if test "x$ac_cv_func_locale_charset" != "xyes"; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libarchive.git/commitdiff/f63cc85684a883f8b11ffd9d29a61f922127d893



More information about the pld-cvs-commit mailing list