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