From e064eb3befe4eda6d75dbd2997c8f50eef6a1fe5 Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Fri, 20 Jun 2008 14:55:17 +0000 Subject: [PATCH] - fix pkgcfg patch to match actual .pc file names (fixes kdegraphics build) --- gphoto2-pkgcfg.patch | 8 ++++---- libgphoto2.spec | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gphoto2-pkgcfg.patch b/gphoto2-pkgcfg.patch index 138b1ca..548aafe 100644 --- a/gphoto2-pkgcfg.patch +++ b/gphoto2-pkgcfg.patch @@ -26,12 +26,12 @@ --cflags) - echo "-I@includedir@/gphoto2" -+ pkg-config --cflags libgphoto2 ++ pkg-config --cflags gphoto2 ;; --libs) - echo "-L@libdir@" -lgphoto2 -lgphoto2_port -lm -+ pkg-config --libs libgphoto2 ++ pkg-config --libs gphoto2 ;; *) @@ -63,12 +63,12 @@ --cflags) - echo "-I@includedir@/gphoto2" -+ pkg-config --cflags libgphoto2-port ++ pkg-config --cflags gphoto2-port ;; --libs) - echo "-L@libdir@" -lgphoto2_port -+ pkg-config --libs libgphoto2-port ++ pkg-config --libs gphoto2-port ;; *) diff --git a/libgphoto2.spec b/libgphoto2.spec index 95ccf8c..1bad1af 100644 --- a/libgphoto2.spec +++ b/libgphoto2.spec @@ -1,7 +1,7 @@ Summary: Library for accessing digital cameras Name: libgphoto2 Version: 2.4.1 -Release: 3%{?dist} +Release: 4%{?dist} # GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2 License: GPLv2+ and GPLv2 Group: Development/Libraries @@ -150,6 +150,9 @@ rm -rf "${RPM_BUILD_ROOT}" %{_mandir}/man3/* %changelog +* Fri Jun 20 2008 Kevin Kofler 2.4.1-4 +- fix pkgcfg patch to match actual .pc file names (fixes kdegraphics build) + * Thu Jun 12 2008 Jindrich Novy 2.4.1-3 - libgphoto2-devel requires libusb-devel and libexif-devel for pkgconfig