rpms/openobex/F-7 openobex-1.3-autoconf.patch, NONE, 1.1 openobex.spec, 1.23, 1.24

Jiří Moskovčák (jmoskovc) fedora-extras-commits at redhat.com
Tue Oct 23 13:31:53 UTC 2007


Author: jmoskovc

Update of /cvs/extras/rpms/openobex/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3585

Modified Files:
	openobex.spec 
Added Files:
	openobex-1.3-autoconf.patch 
Log Message:
Added patch to fix wrong dir on lib64 archs by configure resulting in missing "Requires: libusb" from the .pc file


openobex-1.3-autoconf.patch:

--- NEW FILE openobex-1.3-autoconf.patch ---
--- openobex-1.3/acinclude.m4~	2006-06-14 12:11:47.000000000 +0300
+++ openobex-1.3/acinclude.m4	2007-03-24 16:39:44.000000000 +0200
@@ -128,7 +128,7 @@
 
 	if (test "${usb_enable}" = "yes" && test "${usb_found}" = "yes"); then
 		AC_DEFINE(HAVE_USB, 1, [Define if system supports USB and it's enabled])
-		AC_CHECK_FILE(${prefix}/lib/pkgconfig/libusb.pc, REQUIRES="$REQUIRES libusb")
+		AC_CHECK_FILE(${libdir}/pkgconfig/libusb.pc, REQUIRES="$REQUIRES libusb")
 	fi
 
 	AM_CONDITIONAL(APPS, test "${apps_enable}" = "yes")


Index: openobex.spec
===================================================================
RCS file: /cvs/extras/rpms/openobex/F-7/openobex.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- openobex.spec	23 Oct 2007 13:08:46 -0000	1.23
+++ openobex.spec	23 Oct 2007 13:31:19 -0000	1.24
@@ -8,6 +8,7 @@
 Source: ftp://download.sourceforge.net/pub/sourceforge/openobex/openobex-%{version}.tar.gz
 Patch: openobex-apps-flush.patch
 Patch1: openobex-1.3-push.patch
+Patch2: openobex-1.3-autoconf.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: autoconf >= 0:2.57, bluez-libs-devel, sed, libusb-devel
@@ -40,6 +41,7 @@
 %setup -q
 %patch -p1 -b .flush
 %patch1 -p1 -b .push
+%patch2 -p1 -b .autoconf
 autoreconf --install --force
 
 %build




More information about the fedora-extras-commits mailing list