From 49f2bc2ccc1ec26793d61f4ccd1be17a57946ba9fae93637ddba15b273150c75 Mon Sep 17 00:00:00 2001
From: Stephan Kulow <coolo@suse.com>
Date: Wed, 18 May 2011 09:36:17 +0000
Subject: [PATCH] - make shared library executable

OBS-URL: https://build.opensuse.org/package/show/Base:System/attr?expand=0&rev=15
---
 attr.changes |  5 +++++
 attr.spec    | 21 +--------------------
 2 files changed, 6 insertions(+), 20 deletions(-)

diff --git a/attr.changes b/attr.changes
index 2a4f9f2..9920c71 100644
--- a/attr.changes
+++ b/attr.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Wed May 18 09:32:06 UTC 2011 - coolo@novell.com
+
+- make shared library executable
+
 -------------------------------------------------------------------
 Tue Apr 19 18:06:35 UTC 2011 - bphilips@novell.com
 
diff --git a/attr.spec b/attr.spec
index 0800ee3..aa7eb33 100644
--- a/attr.spec
+++ b/attr.spec
@@ -39,13 +39,6 @@ objects, in particular getfattr(1) and setfattr(1). An attr(1) command
 is also provided, which is largely compatible with the SGI IRIX tool of
 the same name.
 
-
-
-Authors:
---------
-    Andreas Gruenbacher <a.gruenbacher@computer.org>
-    SGI
-
 %package -n libattr
 License:        GPLv2+ ; LGPLv2.1+
 Summary:        A dynamic library for filesystem extended attribute support
@@ -61,13 +54,6 @@ Group:          System/Libraries
 This package contains the libattr.so dynamic library, which contains
 the extended attribute library functions.
 
-
-
-Authors:
---------
-    Andreas Gruenbacher <a.gruenbacher@computer.org>
-    SGI
-
 %package -n libattr-devel
 License:        GPLv2+ ; LGPLv2.1+
 Summary:        Include Files and Libraries mandatory for Development
@@ -88,12 +74,6 @@ programs which make use of extended attributes. For Linux programs, the
 documented system call API is the recommended interface, but an SGI
 IRIX compatibility interface is also provided.
 
-
-
-Authors:
---------
-    SGI
-
 %prep
 %setup -q
 %patch0 -p1
@@ -129,6 +109,7 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man2/*xattr.2*
 rm -f $RPM_BUILD_ROOT/%{_libdir}/libattr.la
 install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir}
 install -m 644 %_sourcedir/xattr.conf $RPM_BUILD_ROOT/%{_sysconfdir}
+chmod 755 $RPM_BUILD_ROOT/%{_lib}/libattr.so.1*
 %find_lang %name
 
 %clean