don't ship Russian web templates because they're broken (#960571, STR #4310)

This commit is contained in:
Jiri Popelka 2013-05-23 10:29:56 +02:00
parent 024c4ff312
commit c314542ce0

View File

@ -11,7 +11,7 @@ Summary: CUPS printing system
Name: cups Name: cups
Epoch: 1 Epoch: 1
Version: 1.6.2 Version: 1.6.2
Release: 5%{?dist} Release: 6%{?dist}
License: GPLv2 License: GPLv2
Group: System Environment/Daemons Group: System Environment/Daemons
Url: http://www.cups.org/ Url: http://www.cups.org/
@ -360,6 +360,10 @@ s:.*\('%{_datadir}'/\)\([^/_]\+\)\(.*\.po$\):%lang(\2) \1\2\3:
/^\([^%].*\)/d /^\([^%].*\)/d
' > %{name}.lang ' > %{name}.lang
# don't ship Russian web templates because they're broken (#960571, STR #4310)
# will be fixed in 1.6.3
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/www/ru
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/cups/templates/ru
%post %post
%systemd_post %{name}.path %{name}.socket %{name}.service %systemd_post %{name}.path %{name}.socket %{name}.service
@ -517,7 +521,7 @@ rm -f %{cups_serverbin}/backend/smb
%dir %{_datadir}/%{name}/www/es %dir %{_datadir}/%{name}/www/es
%dir %{_datadir}/%{name}/www/fr %dir %{_datadir}/%{name}/www/fr
%dir %{_datadir}/%{name}/www/ja %dir %{_datadir}/%{name}/www/ja
%dir %{_datadir}/%{name}/www/ru #%%dir %{_datadir}/%{name}/www/ru
%{_datadir}/%{name}/www/images %{_datadir}/%{name}/www/images
%{_datadir}/%{name}/www/*.css %{_datadir}/%{name}/www/*.css
%doc %{_datadir}/%{name}/www/index.html %doc %{_datadir}/%{name}/www/index.html
@ -528,7 +532,7 @@ rm -f %{cups_serverbin}/backend/smb
%doc %{_datadir}/%{name}/www/es/index.html %doc %{_datadir}/%{name}/www/es/index.html
%doc %{_datadir}/%{name}/www/fr/index.html %doc %{_datadir}/%{name}/www/fr/index.html
%doc %{_datadir}/%{name}/www/ja/index.html %doc %{_datadir}/%{name}/www/ja/index.html
%doc %{_datadir}/%{name}/www/ru/index.html #%%doc %{_datadir}/%{name}/www/ru/index.html
%{_unitdir}/%{name}.service %{_unitdir}/%{name}.service
%{_unitdir}/%{name}.socket %{_unitdir}/%{name}.socket
%{_unitdir}/%{name}.path %{_unitdir}/%{name}.path
@ -561,14 +565,14 @@ rm -f %{cups_serverbin}/backend/smb
%dir %{_datadir}/cups/templates/es %dir %{_datadir}/cups/templates/es
%dir %{_datadir}/cups/templates/fr %dir %{_datadir}/cups/templates/fr
%dir %{_datadir}/cups/templates/ja %dir %{_datadir}/cups/templates/ja
%dir %{_datadir}/cups/templates/ru #%%dir %{_datadir}/cups/templates/ru
%{_datadir}/cups/templates/*.tmpl %{_datadir}/cups/templates/*.tmpl
%{_datadir}/cups/templates/ca/*.tmpl %{_datadir}/cups/templates/ca/*.tmpl
%{_datadir}/cups/templates/cs/*.tmpl %{_datadir}/cups/templates/cs/*.tmpl
%{_datadir}/cups/templates/es/*.tmpl %{_datadir}/cups/templates/es/*.tmpl
%{_datadir}/cups/templates/fr/*.tmpl %{_datadir}/cups/templates/fr/*.tmpl
%{_datadir}/cups/templates/ja/*.tmpl %{_datadir}/cups/templates/ja/*.tmpl
%{_datadir}/cups/templates/ru/*.tmpl #%%{_datadir}/cups/templates/ru/*.tmpl
%dir %attr(1770,root,lp) %{_localstatedir}/spool/cups/tmp %dir %attr(1770,root,lp) %{_localstatedir}/spool/cups/tmp
%dir %attr(0710,root,lp) %{_localstatedir}/spool/cups %dir %attr(0710,root,lp) %{_localstatedir}/spool/cups
%dir %attr(0755,lp,sys) %{_localstatedir}/log/cups %dir %attr(0755,lp,sys) %{_localstatedir}/log/cups
@ -621,6 +625,9 @@ rm -f %{cups_serverbin}/backend/smb
%{_mandir}/man5/ipptoolfile.5.gz %{_mandir}/man5/ipptoolfile.5.gz
%changelog %changelog
* Thu May 23 2013 Jiri Popelka <jpopelka@redhat.com> - 1:1.6.2-6
- don't ship Russian web templates because they're broken (#960571, STR #4310)
* Wed May 15 2013 Jiri Popelka <jpopelka@redhat.com> - 1:1.6.2-5 * Wed May 15 2013 Jiri Popelka <jpopelka@redhat.com> - 1:1.6.2-5
- move cups/ppdc/ to filesystem subpackage - move cups/ppdc/ to filesystem subpackage