LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File project.diff of Package bzip2 (Project Ports:ARM:Base:build:cross)

--- baselibs.conf.orig
+++ baselibs.conf
@@ -1,4 +1,12 @@
+arch i586 targets armv5el:x86lib armv7el:x86lib
 libbz2-1
   obsoletes "bzip2-<targettype> <= <version>"
   provides "bzip2-<targettype> = <version>"
+  targettype x86lib autoreqprov "off"
   targettype x86 provides "baselibs-x86:<prefix>/usr/lib/libbz2.so.1"
+
+targettype x86lib package bzip2
+  targettype x86lib autoreqprov "off"
+  targettype x86lib +/usr/bin/bzip2
+  targettype x86lib post "mv /usr/bin/bzip2 /usr/bin/bzip2.orig ; ln -s /emul/ia32-linux/usr/bin/bzip2 /usr/bin/bzip2"
+  targettype x86lib requires "bzip2"
\ No newline at end of file
--- bzip2.spec.orig
+++ bzip2.spec
@@ -39,6 +39,7 @@ Source:         bzip2-%{version}.tar.gz
 Source1:        bznew.gz
 Source2:        bznew.1.gz
 Source100:      rpmlintrc
+Source101:      baselibs.conf
 Patch1:         bzip2-shared_lib.patch
 Patch2:         bzip2-maxlen20.patch
 Patch3:         bzip2-faster.patch