Accepting request 23179 from Base:System
Copy from Base:System/attr based on submit request 23179 from user msmeissn OBS-URL: https://build.opensuse.org/request/show/23179 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/attr?expand=0&rev=15
This commit is contained in:
parent
98f27e551d
commit
19dfd5a124
12
attr-fiximplicit.patch
Normal file
12
attr-fiximplicit.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: attr-2.4.44/libmisc/quote.c
|
||||||
|
===================================================================
|
||||||
|
--- attr-2.4.44.orig/libmisc/quote.c
|
||||||
|
+++ attr-2.4.44/libmisc/quote.c
|
||||||
|
@@ -19,6 +19,7 @@
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
+#include <string.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
#include "misc.h"
|
||||||
|
|
11
attr.changes
11
attr.changes
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 26 15:48:06 CET 2009 - meissner@suse.de
|
||||||
|
|
||||||
|
- fixed implicit strchr() call
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 27 21:36:26 CEST 2009 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- do not package static libraries
|
||||||
|
- fix -devel package dependencies
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 1 04:23:29 CEST 2009 - bphilips@novell.com
|
Sat Aug 1 04:23:29 CEST 2009 - bphilips@novell.com
|
||||||
|
|
||||||
|
21
attr.spec
21
attr.spec
@ -23,10 +23,11 @@ Group: System/Filesystems
|
|||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Summary: Commands for Manipulating Extended Attributes
|
Summary: Commands for Manipulating Extended Attributes
|
||||||
Version: 2.4.44
|
Version: 2.4.44
|
||||||
Release: 1
|
Release: 2
|
||||||
Source: %{name}-%{version}.src.tar.gz
|
Source: %{name}-%{version}.src.tar.gz
|
||||||
Source1: xattr.conf
|
Source1: xattr.conf
|
||||||
Patch0: builddefs.in.diff
|
Patch0: builddefs.in.diff
|
||||||
|
Patch1: %name-fiximplicit.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
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
@ -79,7 +80,7 @@ Obsoletes: attr-devel
|
|||||||
Obsoletes: libattr-devel-64bit
|
Obsoletes: libattr-devel-64bit
|
||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
Requires: libattr = %{version}
|
Requires: libattr = %{version} 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
|
||||||
@ -94,25 +95,24 @@ Authors:
|
|||||||
SGI
|
SGI
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export OPTIMIZER="$RPM_OPT_FLAGS -fPIC"
|
export OPTIMIZER="$RPM_OPT_FLAGS -fPIC"
|
||||||
export DEBUG=-DNDEBUG
|
export DEBUG=-DNDEBUG
|
||||||
autoconf
|
autoconf
|
||||||
CFLAGS="$RPM_OPT_FLAGS" \
|
CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
./configure \
|
%configure \
|
||||||
--prefix=/ \
|
--prefix=/ \
|
||||||
--exec-prefix=/ \
|
--exec-prefix=/ \
|
||||||
--sbindir=/bin \
|
--sbindir=/bin \
|
||||||
--bindir=%{_bindir} \
|
|
||||||
--mandir=%{_mandir} \
|
|
||||||
--includedir=%{_includedir} \
|
|
||||||
--libdir=/%{_lib} \
|
--libdir=/%{_lib} \
|
||||||
--datadir=/usr/share \
|
--libexecdir=/%{_libdir} \
|
||||||
--libexecdir=/%{_libdir}
|
--disable-static \
|
||||||
make
|
--with-pic
|
||||||
|
%{__make} %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
DIST_ROOT="$RPM_BUILD_ROOT"
|
DIST_ROOT="$RPM_BUILD_ROOT"
|
||||||
@ -161,7 +161,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%attr(644,root,root) %{_includedir}/attr/error_context.h
|
%attr(644,root,root) %{_includedir}/attr/error_context.h
|
||||||
%attr(644,root,root) %{_includedir}/attr/libattr.h
|
%attr(644,root,root) %{_includedir}/attr/libattr.h
|
||||||
%attr(644,root,root) %{_includedir}/attr/xattr.h
|
%attr(644,root,root) %{_includedir}/attr/xattr.h
|
||||||
%attr(644,root,root) %{_libdir}/libattr.a
|
|
||||||
%attr(755,root,root) %{_libdir}/libattr.so
|
%attr(755,root,root) %{_libdir}/libattr.so
|
||||||
%doc %attr(644,root,root) %{_mandir}/man3/attr_get.3.gz*
|
%doc %attr(644,root,root) %{_mandir}/man3/attr_get.3.gz*
|
||||||
%doc %attr(644,root,root) %{_mandir}/man3/attr_list.3.gz*
|
%doc %attr(644,root,root) %{_mandir}/man3/attr_list.3.gz*
|
||||||
|
Loading…
Reference in New Issue
Block a user