Own polkit-js-engine's subdirectory in %{_docdir}

This commit is contained in:
Miloslav Trmač 2013-02-09 01:07:23 +01:00
parent 1e1164982b
commit bfbf3d20eb

View File

@ -6,7 +6,7 @@
Summary: polkit Authorization Framework
Name: polkit
Version: 0.110
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/polkit
Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
@ -101,8 +101,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la
mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/polkit-js-engine-%{version}
cat > $RPM_BUILD_ROOT%{_datadir}/doc/polkit-js-engine-%{version}/README << EOF
mkdir polkit-js-engine
cat > polkit-js-engine/README << EOF
This is a meta-package to pull in the required JavaScript packages to
make polkit authorization rules work.
EOF
@ -161,9 +161,13 @@ exit 0
%files js-engine
%defattr(-,root,root,-)
%{_datadir}/doc/polkit-js-engine-%{version}/README
%doc polkit-js-engine/README
%changelog
* Fri Feb 8 2013 Miloslav Trmač <mitr@redhat.com> - 0.110-2
- Own %%{_docdir}/polkit-js-engine-*
Resolves: #907668
* Wed Jan 9 2013 David Zeuthen <davidz@redhat.com> - 0.110-1%{?dist}
- Update to upstream release 0.110