Accepting request 283827 from M17N:fonts

- Move version-release to reduce build-compare noise (forwarded request 283826 from olh)

OBS-URL: https://build.opensuse.org/request/show/283827
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fontpackages?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2015-02-05 09:58:59 +00:00 committed by Git OBS Bridge
commit b09db36ce0
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 Thu Feb 27 15:48:37 UTC 2014 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package fontpackages # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed

View File

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