Accepting request 150875 from Base:System
- Add attr-syscalls.patch: Define attr syscall numbers for aarch64 - Add config-guess-sub-update.patch: Update confg.guess/sub for aarch64 - update license to new format OBS-URL: https://build.opensuse.org/request/show/150875 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/attr?expand=0&rev=31
This commit is contained in:
commit
807830eabe
25
attr-syscalls.patch
Normal file
25
attr-syscalls.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
Index: libattr/syscalls.c
|
||||||
|
===================================================================
|
||||||
|
--- libattr/syscalls.c.orig
|
||||||
|
+++ libattr/syscalls.c
|
||||||
|
@@ -189,6 +189,20 @@
|
||||||
|
# define __NR_removexattr 232
|
||||||
|
# define __NR_lremovexattr 233
|
||||||
|
# define __NR_fremovexattr 234
|
||||||
|
+#elif defined (__aarch64__)
|
||||||
|
+# define HAVE_XATTR_SYSCALLS 1
|
||||||
|
+# define __NR_setxattr 5
|
||||||
|
+# define __NR_lsetxattr 6
|
||||||
|
+# define __NR_fsetxattr 7
|
||||||
|
+# define __NR_getxattr 8
|
||||||
|
+# define __NR_lgetxattr 9
|
||||||
|
+# define __NR_fgetxattr 10
|
||||||
|
+# define __NR_listxattr 11
|
||||||
|
+# define __NR_llistxattr 12
|
||||||
|
+# define __NR_flistxattr 13
|
||||||
|
+# define __NR_removexattr 14
|
||||||
|
+# define __NR_lremovexattr 15
|
||||||
|
+# define __NR_fremovexattr 16
|
||||||
|
#else
|
||||||
|
# warning "Extended attribute syscalls undefined for this architecture"
|
||||||
|
# define HAVE_XATTR_SYSCALLS 0
|
17
attr.changes
17
attr.changes
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 2 21:08:57 UTC 2013 - schwab@suse.de
|
||||||
|
|
||||||
|
- Add attr-syscalls.patch:
|
||||||
|
Define attr syscall numbers for aarch64
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 2 20:30:27 UTC 2013 - schwab@suse.de
|
||||||
|
|
||||||
|
- Add config-guess-sub-update.patch:
|
||||||
|
Update confg.guess/sub for aarch64
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 1 12:01:33 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- update license to new format
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 20 11:27:17 UTC 2011 - coolo@suse.com
|
Tue Dec 20 11:27:17 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
16
attr.spec
16
attr.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package attr
|
# spec file for package attr
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 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
|
||||||
@ -15,10 +15,11 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: attr
|
Name: attr
|
||||||
%define lname libattr1
|
%define lname libattr1
|
||||||
Summary: Commands for Manipulating Extended Attributes
|
Summary: Commands for Manipulating Extended Attributes
|
||||||
License: GPL-2.0+ ; LGPL-2.1+
|
License: GPL-2.0+ and LGPL-2.1+
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
Version: 2.4.46
|
Version: 2.4.46
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -26,9 +27,12 @@ Source: %{name}-%{version}.src.tar.gz
|
|||||||
Source1: xattr.conf
|
Source1: xattr.conf
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Patch0: builddefs.in.diff
|
Patch0: builddefs.in.diff
|
||||||
|
Patch1: config-guess-sub-update.patch
|
||||||
|
Patch2: attr-syscalls.patch
|
||||||
Url: http://download.savannah.gnu.org/releases-noredirect/attr/
|
Url: http://download.savannah.gnu.org/releases-noredirect/attr/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
Conflicts: xfsdump < 2.0.0
|
Conflicts: xfsdump < 2.0.0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -62,7 +66,8 @@ Obsoletes: attr-devel
|
|||||||
Obsoletes: libattr-devel-64bit
|
Obsoletes: libattr-devel-64bit
|
||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
Requires: %lname = %version, glibc-devel
|
Requires: %lname = %version
|
||||||
|
Requires: glibc-devel
|
||||||
|
|
||||||
%description -n libattr-devel
|
%description -n libattr-devel
|
||||||
This package contains the libraries and header files needed to develop
|
This package contains the libraries and header files needed to develop
|
||||||
@ -83,11 +88,14 @@ statically linked programs which make use of extended attributes.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1
|
||||||
|
%patch2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export OPTIMIZER="$RPM_OPT_FLAGS -fPIC"
|
export OPTIMIZER="$RPM_OPT_FLAGS -fPIC"
|
||||||
export DEBUG=-DNDEBUG
|
export DEBUG=-DNDEBUG
|
||||||
autoconf
|
ln -sf /usr/share/automake-1.12/config.guess .
|
||||||
|
ln -sf /usr/share/automake-1.12/config.sub .
|
||||||
CFLAGS="$RPM_OPT_FLAGS" \
|
CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
%configure \
|
%configure \
|
||||||
--prefix=/ \
|
--prefix=/ \
|
||||||
|
1221
config-guess-sub-update.patch
Normal file
1221
config-guess-sub-update.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user