- remove circular symlink in /usr/include/gphoto2 (#460807)

This commit is contained in:
Jindrich Novy 2009-12-18 09:44:01 +00:00
parent 6fa6bbf354
commit 22ca9a9f69

View File

@ -1,7 +1,7 @@
Summary: Library for accessing digital cameras Summary: Library for accessing digital cameras
Name: libgphoto2 Name: libgphoto2
Version: 2.4.7 Version: 2.4.7
Release: 2%{?dist} Release: 3%{?dist}
# GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2 # GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2
License: GPLv2+ and GPLv2 License: GPLv2+ and GPLv2
Group: Development/Libraries Group: Development/Libraries
@ -119,6 +119,9 @@ mkdir -p $RPM_BUILD_ROOT/lib/udev/rules.d
$RPM_BUILD_ROOT%{_libdir}/%{name}/print-camera-list udev-rules version 136 > $RPM_BUILD_ROOT/lib/udev/rules.d/40-libgphoto2.rules $RPM_BUILD_ROOT%{_libdir}/%{name}/print-camera-list udev-rules version 136 > $RPM_BUILD_ROOT/lib/udev/rules.d/40-libgphoto2.rules
popd popd
# remove circular symlink in /usr/include/gphoto2 (#460807)
rm -f %{buildroot}%{_includedir}/gphoto2/gphoto2
rm -rf %{buildroot}%{_libdir}/libgphoto2/*/*a rm -rf %{buildroot}%{_libdir}/libgphoto2/*/*a
rm -rf %{buildroot}%{_libdir}/libgphoto2_port/*/*a rm -rf %{buildroot}%{_libdir}/libgphoto2_port/*/*a
rm -rf %{buildroot}%{_libdir}/*.a rm -rf %{buildroot}%{_libdir}/*.a
@ -162,6 +165,9 @@ rm -rf "${RPM_BUILD_ROOT}"
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Fri Dec 18 2009 Jindrich Novy <jnovy@redhat.com> 2.4.7-3
- remove circular symlink in /usr/include/gphoto2 (#460807)
* Fri Oct 23 2009 Jindrich Novy <jnovy@redhat.com> 2.4.7-2 * Fri Oct 23 2009 Jindrich Novy <jnovy@redhat.com> 2.4.7-2
- return the dual-mode device to kernel once we don't use it (#530545) - return the dual-mode device to kernel once we don't use it (#530545)