From 19dfd5a124f4795c63d23c68e98ccbc8e8af763691fe57702959b51c6c565005 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 27 Oct 2009 15:23:45 +0000 Subject: [PATCH] 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 --- attr-fiximplicit.patch | 12 ++++++++++++ attr.changes | 11 +++++++++++ attr.spec | 21 ++++++++++----------- 3 files changed, 33 insertions(+), 11 deletions(-) create mode 100644 attr-fiximplicit.patch diff --git a/attr-fiximplicit.patch b/attr-fiximplicit.patch new file mode 100644 index 0000000..b2f89a9 --- /dev/null +++ b/attr-fiximplicit.patch @@ -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 + #include ++#include + #include + #include "misc.h" + diff --git a/attr.changes b/attr.changes index 6069e51..d7ece0a 100644 --- a/attr.changes +++ b/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 diff --git a/attr.spec b/attr.spec index 38b04ea..cdfc786 100644 --- a/attr.spec +++ b/attr.spec @@ -23,10 +23,11 @@ Group: System/Filesystems AutoReqProv: on Summary: Commands for Manipulating Extended Attributes Version: 2.4.44 -Release: 1 +Release: 2 Source: %{name}-%{version}.src.tar.gz Source1: xattr.conf Patch0: builddefs.in.diff +Patch1: %name-fiximplicit.patch Url: http://download.savannah.gnu.org/releases-noredirect/attr/ BuildRoot: %{_tmppath}/%{name}-%{version}-build License: GPL v2 or later @@ -79,7 +80,7 @@ Obsoletes: attr-devel Obsoletes: libattr-devel-64bit %endif # -Requires: libattr = %{version} +Requires: libattr = %{version} glibc-devel %description -n libattr-devel This package contains the libraries and header files needed to develop @@ -94,25 +95,24 @@ Authors: SGI %prep -%setup +%setup -q %patch0 -p1 +%patch1 -p1 %build export OPTIMIZER="$RPM_OPT_FLAGS -fPIC" export DEBUG=-DNDEBUG autoconf CFLAGS="$RPM_OPT_FLAGS" \ -./configure \ +%configure \ --prefix=/ \ --exec-prefix=/ \ --sbindir=/bin \ - --bindir=%{_bindir} \ - --mandir=%{_mandir} \ - --includedir=%{_includedir} \ --libdir=/%{_lib} \ - --datadir=/usr/share \ - --libexecdir=/%{_libdir} -make + --libexecdir=/%{_libdir} \ + --disable-static \ + --with-pic +%{__make} %{?jobs:-j%jobs} %install 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/libattr.h %attr(644,root,root) %{_includedir}/attr/xattr.h -%attr(644,root,root) %{_libdir}/libattr.a %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_list.3.gz*