lensfun-update-data: Root privileges needed (#1242826)
This commit is contained in:
parent
d115da5814
commit
7bdfaca255
17
lensfun.spec
17
lensfun.spec
@ -11,12 +11,17 @@
|
|||||||
Name: lensfun
|
Name: lensfun
|
||||||
Version: 0.3.1
|
Version: 0.3.1
|
||||||
Summary: Library to rectify defects introduced by photographic lenses
|
Summary: Library to rectify defects introduced by photographic lenses
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
|
|
||||||
License: LGPLv3 and CC-BY-SA
|
License: LGPLv3 and CC-BY-SA
|
||||||
URL: http://lensfun.sourceforge.net/
|
URL: http://lensfun.sourceforge.net/
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
## upstream patches
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1242826
|
||||||
|
# http://sourceforge.net/p/lensfun/bugs/30/
|
||||||
|
Patch100: lensfun-update-data.patch
|
||||||
|
|
||||||
## upstreamable patches
|
## upstreamable patches
|
||||||
# install manpages only when INSTALL_HELPER_SCRIPTS=ON
|
# install manpages only when INSTALL_HELPER_SCRIPTS=ON
|
||||||
Patch1: lensfun-0.3.1-INSTALL_HELPER_SCRIPTS.patch
|
Patch1: lensfun-0.3.1-INSTALL_HELPER_SCRIPTS.patch
|
||||||
@ -57,8 +62,9 @@ adapters in lensfun.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup -q
|
||||||
|
|
||||||
|
%patch100 -p1 -b .update_data
|
||||||
%patch1 -p1 -b .INSTALL_HELPER_SCRIPTS
|
%patch1 -p1 -b .INSTALL_HELPER_SCRIPTS
|
||||||
%patch2 -p1 -b .mandir
|
%patch2 -p1 -b .mandir
|
||||||
|
|
||||||
@ -81,6 +87,9 @@ make doc -C %{_target_platform}
|
|||||||
%install
|
%install
|
||||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||||
|
|
||||||
|
# create/own /var/lib/lensfun-updates
|
||||||
|
mkdir -p %{buildroot}/var/lib/lensfun-updates
|
||||||
|
|
||||||
## unpackaged files
|
## unpackaged files
|
||||||
# omit cmake-installed doxygen docs, we handle that manually
|
# omit cmake-installed doxygen docs, we handle that manually
|
||||||
rm -rfv %{buildroot}%{_docdir}/%{name}-%{version}*
|
rm -rfv %{buildroot}%{_docdir}/%{name}-%{version}*
|
||||||
@ -98,6 +107,7 @@ rm -fv %{buildroot}%{_bindir}/g-lensfun-update-data \
|
|||||||
%doc docs/adobe-lens-profile.txt
|
%doc docs/adobe-lens-profile.txt
|
||||||
%{_datadir}/lensfun/
|
%{_datadir}/lensfun/
|
||||||
%{_libdir}/liblensfun.so.0*
|
%{_libdir}/liblensfun.so.0*
|
||||||
|
%dir /var/lib/lensfun-updates/
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc %{_target_platform}/doc_doxygen/*
|
%doc %{_target_platform}/doc_doxygen/*
|
||||||
@ -111,6 +121,9 @@ rm -fv %{buildroot}%{_bindir}/g-lensfun-update-data \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 14 2015 Rex Dieter <rdieter@fedoraproject.org> 0.3.1-3
|
||||||
|
- lensfun-update-data: Root privileges needed (#1242826)
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-2
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user