Accepting request 235707 from home:elvigia:branches:Archiving
- libarchive-xattr.patch, fix subtle wrong library check that causes this package to depend on libattr when it should be using glibc. OBS-URL: https://build.opensuse.org/request/show/235707 OBS-URL: https://build.opensuse.org/package/show/Archiving/libarchive?expand=0&rev=34
This commit is contained in:
parent
923b375077
commit
9f835ac0ff
11
libarchive-xattr.patch
Normal file
11
libarchive-xattr.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- libarchive-3.1.2.orig/configure.ac
|
||||||
|
+++ libarchive-3.1.2/configure.ac
|
||||||
|
@@ -568,7 +568,7 @@ AC_ARG_ENABLE([xattr],
|
||||||
|
if test "x$enable_xattr" != "xno"; then
|
||||||
|
AC_CHECK_HEADERS([attr/xattr.h])
|
||||||
|
AC_CHECK_HEADERS([sys/xattr.h sys/ea.h])
|
||||||
|
- AC_CHECK_LIB(attr,setxattr)
|
||||||
|
+ AC_SEARCH_LIBS([setxattr], [attr])
|
||||||
|
AC_CHECK_FUNCS([extattr_get_file extattr_list_file])
|
||||||
|
AC_CHECK_FUNCS([extattr_set_fd extattr_set_file])
|
||||||
|
AC_CHECK_FUNCS([fgetxattr flistxattr fsetxattr getxattr])
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 28 17:18:59 UTC 2014 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- libarchive-xattr.patch, fix subtle wrong library check
|
||||||
|
that causes this package to depend on libattr when it should
|
||||||
|
be using glibc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 24 16:22:02 UTC 2013 - andreas.stieger@gmx.de
|
Sun Nov 24 16:22:02 UTC 2013 - andreas.stieger@gmx.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libarchive
|
# spec file for package libarchive
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -42,7 +42,6 @@ Source0: http://www.libarchive.org/downloads/libarchive-%{version}.tar.gz
|
|||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
BuildRequires: libattr-devel
|
|
||||||
BuildRequires: libbz2-devel
|
BuildRequires: libbz2-devel
|
||||||
%if %{with ext2fs}
|
%if %{with ext2fs}
|
||||||
BuildRequires: libext2fs-devel
|
BuildRequires: libext2fs-devel
|
||||||
@ -50,11 +49,13 @@ BuildRequires: libext2fs-devel
|
|||||||
%if %{with openssl}
|
%if %{with openssl}
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: libtool
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: xz-devel
|
BuildRequires: xz-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
Patch0: libarchive-openssl.patch
|
Patch0: libarchive-openssl.patch
|
||||||
|
Patch1: libarchive-xattr.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libarchive is a programming library that can create and read several
|
Libarchive is a programming library that can create and read several
|
||||||
@ -163,7 +164,9 @@ static library for libarchive
|
|||||||
%if %{with openssl}
|
%if %{with openssl}
|
||||||
%patch0
|
%patch0
|
||||||
%endif
|
%endif
|
||||||
|
%patch1 -p1
|
||||||
%build
|
%build
|
||||||
|
autoreconf -fiv
|
||||||
%global optflags %{optflags} -D_REENTRANT -pipe
|
%global optflags %{optflags} -D_REENTRANT -pipe
|
||||||
%configure \
|
%configure \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
|
Loading…
Reference in New Issue
Block a user