diff --git a/gphoto2.spec b/gphoto2.spec index 3f3f231..548d572 100644 --- a/gphoto2.spec +++ b/gphoto2.spec @@ -5,12 +5,13 @@ Name: gphoto2 %define libpkg libgphoto2 %define libver 2.1.4 Version: %{pkgver} -Release: 2.1 +Release: 4 License: LGPL Group: Applications/Multimedia BuildRoot: %{_tmppath}/%{name}-%{version}-root Source0: http://prdownloads.sourceforge.net/gphoto/%{pkg}-%{pkgver}.tar.bz2 Source1: http://prdownloads.sourceforge.net/gphoto/%{libpkg}-%{libver}.tar.bz2 +Patch0: libgphoto2-lvalue.patch Url: http://www.gphoto.org/ ExcludeArch: s390 s390x # For /etc/hotplug/usb.. @@ -24,6 +25,7 @@ BuildRequires: findutils perl BuildRequires: transfig BuildRequires: lockdev-devel BuildRequires: libexif-devel +BuildRequires: libjpeg-devel, readline-devel #################################### %description @@ -65,6 +67,9 @@ use libgphoto2. #################################### %prep %setup -q -a 1 +pushd %{libpkg}-%{libver} +%patch0 -p1 -b .lvalue +popd #################################### %build @@ -194,6 +199,15 @@ fi # ChangeLog ######################################################################## %changelog +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Mon Apr 19 2004 Tim Waugh 2.1.4-3 +- BuildRequires libjpeg-devel, readline-devel (bug #121238). + +* Wed Mar 10 2004 Tim Waugh +- Apply Jeff Law's cast-as-lvalue patch. + * Tue Mar 02 2004 Elliot Lee - rebuilt