[packages/poldek/rpm5] - rpm5 also needs librpmio

baggins baggins at pld-linux.org
Fri Sep 14 23:04:15 CEST 2012


commit 531bd5fb55f22bf8f0ea153221aebe95c05a21bf
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Sep 14 23:03:55 2012 +0200

    - rpm5 also needs librpmio

 poldek-link-rpmio.patch | 14 ++++++++++++++
 poldek.spec             |  2 ++
 2 files changed, 16 insertions(+)
---
diff --git a/poldek.spec b/poldek.spec
index 38a0f98..c2c6dab 100644
--- a/poldek.spec
+++ b/poldek.spec
@@ -42,6 +42,7 @@ Patch0:		%{name}-vserver-packages.patch
 Patch1:		%{name}-config.patch
 Patch2:		%{name}-size-type.patch
 Patch3:		%{name}-Os-fail-workaround.patch
+Patch4:		%{name}-link-rpmio.patch
 URL:		http://poldek.pld-linux.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -203,6 +204,7 @@ Moduły języka Python dla poldka.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %{__rm} m4/libtool.m4 m4/lt*.m4
 
diff --git a/poldek-link-rpmio.patch b/poldek-link-rpmio.patch
new file mode 100644
index 0000000..9b6d993
--- /dev/null
+++ b/poldek-link-rpmio.patch
@@ -0,0 +1,14 @@
+--- poldek-0.30/configure.ac~	2012-09-13 15:34:00.000000000 +0200
++++ poldek-0.30/configure.ac	2012-09-14 23:02:24.729923159 +0200
+@@ -329,10 +329,7 @@
+ 	have_beecrypt=yes, have_beecrypt=no)
+ fi
+ 
+-if test "${is_rpm4}." = "yes." ; then
+-	AC_CHECK_LIB(rpmio, rpmCleanPath,,AC_MSG_ERROR(["rpmio not found"]))
+-fi
+-
++AC_CHECK_LIB(rpmio, rpmCleanPath,,AC_MSG_ERROR(["rpmio not found"]))
+ 
+ AC_CHECK_LIB(rpm, rpmReadPackageInfo,[LIBS="-lrpm $DBLIB $LIBS"],
+ 	AC_CHECK_LIB(rpm, rpmReadPackageHeader,
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/531bd5fb55f22bf8f0ea153221aebe95c05a21bf



More information about the pld-cvs-commit mailing list