]> git.pld-linux.org Git - packages/librtas.git/commitdiff
- up to 1.3.8 auto/th/librtas-1.3.8-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 2 Feb 2013 16:18:35 +0000 (17:18 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 2 Feb 2013 16:18:35 +0000 (17:18 +0100)
- added lib64 patch (avoid mistaken 64-bit ELF detection caused by buildids)

librtas-lib64.patch [new file with mode: 0644]
librtas.spec

diff --git a/librtas-lib64.patch b/librtas-lib64.patch
new file mode 100644 (file)
index 0000000..bd19c5a
--- /dev/null
@@ -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
+ #
index e5542ae214d851fa9080ad0bc751383c0bca7666..f8ebe7f84770b74e3058a5b23437fdc09c5dca38 100644 (file)
@@ -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}" \
This page took 0.090033 seconds and 4 git commands to generate.