[packages/librtas] - up to 1.3.8 - added lib64 patch (avoid mistaken 64-bit ELF detection caused by buildids)
qboosh
qboosh at pld-linux.org
Sat Feb 2 17:17:37 CET 2013
commit 8d91baec4aa73636b7be8f52dbee86e40238871c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Feb 2 17:18:35 2013 +0100
- up to 1.3.8
- added lib64 patch (avoid mistaken 64-bit ELF detection caused by buildids)
librtas-lib64.patch | 11 +++++++++++
librtas.spec | 11 +++++++----
2 files changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/librtas.spec b/librtas.spec
index e5542ae..f8ebe7f 100644
--- a/librtas.spec
+++ b/librtas.spec
@@ -1,14 +1,14 @@
Summary: Libraries for user-space access to the Run-Time Abstraction Services
Summary(pl.UTF-8): Biblioteki do dostępu do RTAS z przestrzeni użytkownika
Name: librtas
-Version: 1.3.7
+Version: 1.3.8
Release: 1
License: CPL v1.0
Group: Libraries
-#Source0: http://librtas.ozlabs.org/releases/%{name}-%{version}.tar.gz
Source0: http://downloads.sourceforge.net/librtas/%{name}-%{version}.tar.gz
-# Source0-md5: 74c567a1574b9a5d4029763fc3a4b940
-URL: http://librtas.ozlabs.org/
+# Source0-md5: 1d737ff4bc9a86b3e2cfd3a805f7632d
+Patch0: %{name}-lib64.patch
+URL: http://librtas.sourceforge.net/
# uses PowerPC-specific RTAS proc files/syscalls
ExclusiveArch: ppc ppc64
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -48,6 +48,9 @@ Statyczna biblioteka librtas.
%prep
%setup -q
+%patch0 -p1
+
+find . -name 'lib*.so*' | xargs %{__rm}
%build
CFLAGS="%{rpmcflags}" \
diff --git a/librtas-lib64.patch b/librtas-lib64.patch
new file mode 100644
index 0000000..bd19c5a
--- /dev/null
+++ b/librtas-lib64.patch
@@ -0,0 +1,11 @@
+--- librtas-1.3.8/rules.mk.orig 2013-01-31 19:30:53.000000000 +0100
++++ librtas-1.3.8/rules.mk 2013-02-02 16:54:44.392521243 +0100
+@@ -111,7 +111,7 @@
+ #
+ # $1 library to examine
+ define is_lib64
+-$(findstring 64,$(shell file $(firstword $1)))
++$(subst -bit,,$(findstring 64-bit,$(shell file $(firstword $1))))
+ endef
+
+ #
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/librtas.git/commitdiff/8d91baec4aa73636b7be8f52dbee86e40238871c
More information about the pld-cvs-commit
mailing list