diff --git a/libgphoto2.spec b/libgphoto2.spec index df62d93..4f430e3 100644 --- a/libgphoto2.spec +++ b/libgphoto2.spec @@ -1,7 +1,7 @@ Summary: Library for accessing digital cameras Name: libgphoto2 Version: 2.4.2 -Release: 1%{?dist} +Release: 2%{?dist} # GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2 License: GPLv2+ and GPLv2 Group: Development/Libraries @@ -55,6 +55,13 @@ use libgphoto2. %patch3 -p1 -b .ixany %patch4 -p1 -b .maxentries +for i in AUTHORS COPYING libgphoto2_port/AUTHORS libgphoto2_port/COPYING.LIB `find -name 'README.*'`; do + mv ${i} ${i}.old + iconv -f ISO-8859-1 -t UTF-8 < ${i}.old > ${i} + touch -r ${i}.old ${i} || : + rm -f ${i}.old +done + # FIXME: These .pc.in files aren't actually being installed? cat > gphoto2.pc.in << \EOF prefix=@prefix@ @@ -102,13 +109,6 @@ $RPM_BUILD_ROOT%{_libdir}/%{name}/print-camera-list hal-fdi | \ grep -v "