Accepting request 283826 from home:olh:branches:M17N:fonts

- Move version-release to reduce build-compare noise

OBS-URL: https://build.opensuse.org/request/show/283826
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/fontpackages?expand=0&rev=28
This commit is contained in:
Petr Gajdos 2015-02-03 08:29:57 +00:00 committed by Git OBS Bridge
parent ceabbca8c0
commit 3f48ed8162
3 changed files with 18 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 3 08:24:45 UTC 2015 - olaf@aepfle.de
- Move version-release to reduce build-compare noise
-------------------------------------------------------------------
Thu Feb 27 15:48:37 UTC 2014 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package fontpackages
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

View File

@ -7,7 +7,8 @@
%_fontsconfavaildir %{_datadir}/%{name}/conf.avail
# private
%__fontsconfigrunflag /var/run/fontpackages/reconfigure-fonts
%__fontsupdatescript /var/adm/update-scripts/%{name}-%{version}-%{release}-reconfigure-fonts
%__fontsupdatescript /var/adm/update-scripts/reconfigure-fonts-%{name}-%{version}-%{release}
%__fontsupdatescript_cjk /var/adm/update-scripts/reconfigure-cjk-fonts-%{name}-%{version}-%{release}
# macro: link_avail_to_system_fontsconf name
# (takes exactly one argument, name of configuration file)
@ -117,16 +118,16 @@ Requires(posttrans): coreutils \
echo 'fi' >> %{__fontsupdatescript} \
echo 'rm %{__fontsupdatescript}' >> %{__fontsupdatescript} \
%{-c: \
echo 'if [ -e %{__fontsconfigrunflag}-cjk ]; then' > %{__fontsupdatescript}-cjk \
echo ' if [ -x /usr/sbin/acroread-cidfont-config ]; then' >> %{__fontsupdatescript}-cjk \
echo ' /usr/sbin/acroread-cidfont-config' >> %{__fontsupdatescript}-cjk \
echo ' fi' >> %{__fontsupdatescript}-cjk \
echo ' if [ -x /usr/sbin/ghostscript-cjk-config ]; then' >> %{__fontsupdatescript}-cjk \
echo ' /usr/sbin/ghostscript-cjk-config' >> %{__fontsupdatescript}-cjk \
echo ' fi' >> %{__fontsupdatescript}-cjk \
echo ' rm %{__fontsconfigrunflag}-cjk' >> %{__fontsupdatescript}-cjk \
echo 'fi' >> %{__fontsupdatescript}-cjk \
echo 'rm %{__fontsupdatescript}-cjk' >> %{__fontsupdatescript}-cjk \
echo 'if [ -e %{__fontsconfigrunflag}-cjk ]; then' > %{__fontsupdatescript_cjk} \
echo ' if [ -x /usr/sbin/acroread-cidfont-config ]; then' >> %{__fontsupdatescript_cjk} \
echo ' /usr/sbin/acroread-cidfont-config' >> %{__fontsupdatescript_cjk} \
echo ' fi' >> %{__fontsupdatescript_cjk} \
echo ' if [ -x /usr/sbin/ghostscript-cjk-config ]; then' >> %{__fontsupdatescript_cjk} \
echo ' /usr/sbin/ghostscript-cjk-config' >> %{__fontsupdatescript_cjk} \
echo ' fi' >> %{__fontsupdatescript_cjk} \
echo ' rm %{__fontsconfigrunflag}-cjk' >> %{__fontsupdatescript_cjk} \
echo 'fi' >> %{__fontsupdatescript_cjk} \
echo 'rm %{__fontsupdatescript_cjk}' >> %{__fontsupdatescript_cjk} \
} \
fi \
%nil