From eae8171645e6d290f39ebaab81c3c8eb0132a110 Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Mon, 21 Nov 2022 23:03:41 +0800 Subject: [PATCH] pipeline issue ugh --- anda/fonts/arphic-ukai/arphic-ukai-fonts.spec | 79 +------------------ .../arphic-uming/arphic-uming-fonts.spec | 79 +------------------ anda/fonts/hannom/hannom-fonts.spec | 1 - .../kanjistrokeorders-fonts.spec | 1 + .../mini-wakuwaku/mini-wakuwaku-fonts.spec | 1 + 5 files changed, 4 insertions(+), 157 deletions(-) diff --git a/anda/fonts/arphic-ukai/arphic-ukai-fonts.spec b/anda/fonts/arphic-ukai/arphic-ukai-fonts.spec index 6451b61122..da3c287159 100644 --- a/anda/fonts/arphic-ukai/arphic-ukai-fonts.spec +++ b/anda/fonts/arphic-ukai/arphic-ukai-fonts.spec @@ -18,88 +18,11 @@ Summary: CJK Unicode font Kaiti style install -D -m644 ukai.ttc %{buildroot}/%{_datadir}/fonts/TTF/ukai.ttc -%clean -rm -rf $RPM_BUILD_ROOT - - -%post -{ - if test -x /sbin/conf.d/SuSEconfig.fonts ; then - # This is a SUSE system. Use proprietary SuSE tools... - if test "$YAST_IS_RUNNING" != "instsys" ; then - if test -x /sbin/SuSEconfig -a -f /sbin/conf.d/SuSEconfig.fonts ; then - /sbin/SuSEconfig --module fonts - else - echo -e "\nERROR: SuSEconfig or requested SuSEconfig module not present!\n" ; exit 1 - fi - fi - - if test -x /sbin/conf.d/SuSEconfig.pango ; then - if test "$YAST_IS_RUNNING" != "instsys" ; then - if test -x /sbin/SuSEconfig -a -f /sbin/conf.d/SuSEconfig.pango ; then - /sbin/SuSEconfig --module pango - else - echo -e "\nERROR: SuSEconfig or requested SuSEconfig module not present!\n" ; exit 1 - fi - fi - fi - else - # Use regular open standards methods... - ttmkfdir -d %{prefix}/%{name} \ - -o %{prefix}/%{name}/fonts.scale - umask 133 - /usr/X11R6/bin/mkfontdir %{prefix}/%{name} - /usr/sbin/chkfontpath -q -a %{prefix}/%{name} - [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache - fi -} &> /dev/null || : - - -%preun -{ - if [ "$1" = "0" ]; then - cd %{prefix}/%{name} - rm -f fonts.dir fonts.scale fonts.cache* - fi -} &> /dev/null || : - -%postun - -{ - if test -x /sbin/conf.d/SuSEconfig.fonts ; then - # This is a SUSE system. Use proprietary SuSE tools... - if test "$YAST_IS_RUNNING" != "instsys" ; then - if test -x /sbin/SuSEconfig -a -f /sbin/conf.d/SuSEconfig.fonts ; then - /sbin/SuSEconfig --module fonts - else - echo -e "\nERROR: SuSEconfig or requested SuSEconfig module not present!\n" ; exit 1 - fi - fi - - if test -x /sbin/conf.d/SuSEconfig.pango ; then - if test "$YAST_IS_RUNNING" != "instsys" ; then - if test -x /sbin/SuSEconfig -a -f /sbin/conf.d/SuSEconfig.pango ; then - /sbin/SuSEconfig --module pango - else - echo -e "\nERROR: SuSEconfig or requested SuSEconfig module not present!\n" ; exit 1 - fi - fi - fi - else - # Use regular open standards methods... - if [ "$1" = "0" ]; then - /usr/sbin/chkfontpath -q -r %{prefix}/%{name} - fi - [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache - fi -} &> /dev/null || : - - %files %doc README %license license/english/ARPHICPL.TXT %defattr(-,root,root,0755) -/%{prefix}/%{name} +/%{_datadir}/fonts/TTF/ukai.ttc %changelog * Mon Nov 21 2022 windowsboy111 - 4.004 diff --git a/anda/fonts/arphic-uming/arphic-uming-fonts.spec b/anda/fonts/arphic-uming/arphic-uming-fonts.spec index 08f27fada7..5386948f8b 100644 --- a/anda/fonts/arphic-uming/arphic-uming-fonts.spec +++ b/anda/fonts/arphic-uming/arphic-uming-fonts.spec @@ -18,88 +18,11 @@ Summary: CJK Unicode font Ming style install -D -m644 uming.ttc %{buildroot}/%{_datadir}/fonts/TTF/uming.ttc -%clean -rm -rf $RPM_BUILD_ROOT - - -%post -{ - if test -x /sbin/conf.d/SuSEconfig.fonts ; then - # This is a SUSE system. Use proprietary SuSE tools... - if test "$YAST_IS_RUNNING" != "instsys" ; then - if test -x /sbin/SuSEconfig -a -f /sbin/conf.d/SuSEconfig.fonts ; then - /sbin/SuSEconfig --module fonts - else - echo -e "\nERROR: SuSEconfig or requested SuSEconfig module not present!\n" ; exit 1 - fi - fi - - if test -x /sbin/conf.d/SuSEconfig.pango ; then - if test "$YAST_IS_RUNNING" != "instsys" ; then - if test -x /sbin/SuSEconfig -a -f /sbin/conf.d/SuSEconfig.pango ; then - /sbin/SuSEconfig --module pango - else - echo -e "\nERROR: SuSEconfig or requested SuSEconfig module not present!\n" ; exit 1 - fi - fi - fi - else - # Use regular open standards methods... - ttmkfdir -d %{prefix}/%{name} \ - -o %{prefix}/%{name}/fonts.scale - umask 133 - /usr/X11R6/bin/mkfontdir %{prefix}/%{name} - /usr/sbin/chkfontpath -q -a %{prefix}/%{name} - [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache - fi -} &> /dev/null || : - - -%preun -{ - if [ "$1" = "0" ]; then - cd %{prefix}/%{name} - rm -f fonts.dir fonts.scale fonts.cache* - fi -} &> /dev/null || : - -%postun - -{ - if test -x /sbin/conf.d/SuSEconfig.fonts ; then - # This is a SUSE system. Use proprietary SuSE tools... - if test "$YAST_IS_RUNNING" != "instsys" ; then - if test -x /sbin/SuSEconfig -a -f /sbin/conf.d/SuSEconfig.fonts ; then - /sbin/SuSEconfig --module fonts - else - echo -e "\nERROR: SuSEconfig or requested SuSEconfig module not present!\n" ; exit 1 - fi - fi - - if test -x /sbin/conf.d/SuSEconfig.pango ; then - if test "$YAST_IS_RUNNING" != "instsys" ; then - if test -x /sbin/SuSEconfig -a -f /sbin/conf.d/SuSEconfig.pango ; then - /sbin/SuSEconfig --module pango - else - echo -e "\nERROR: SuSEconfig or requested SuSEconfig module not present!\n" ; exit 1 - fi - fi - fi - else - # Use regular open standards methods... - if [ "$1" = "0" ]; then - /usr/sbin/chkfontpath -q -r %{prefix}/%{name} - fi - [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache - fi -} &> /dev/null || : - - %files %doc README %license license/english/ARPHICPL.TXT %defattr(-,root,root,0755) -/%{prefix}/%{name} +/%{_datadir}/fonts/TTF/uming.ttc %changelog * Mon Nov 21 2022 windowsboy111 - 4.004 diff --git a/anda/fonts/hannom/hannom-fonts.spec b/anda/fonts/hannom/hannom-fonts.spec index f25fdd57a5..9ebd5d544c 100644 --- a/anda/fonts/hannom/hannom-fonts.spec +++ b/anda/fonts/hannom/hannom-fonts.spec @@ -11,7 +11,6 @@ BuildRequires: unzip %description %{summary}. - %prep unzip %{SOURCE0} diff --git a/anda/fonts/kanjistrokeorders/kanjistrokeorders-fonts.spec b/anda/fonts/kanjistrokeorders/kanjistrokeorders-fonts.spec index 7144174c82..35bdb34f6e 100644 --- a/anda/fonts/kanjistrokeorders/kanjistrokeorders-fonts.spec +++ b/anda/fonts/kanjistrokeorders/kanjistrokeorders-fonts.spec @@ -6,6 +6,7 @@ License: custom Summary: Kanji stroke order font BuildRequires: unzip + %description %{summary}. diff --git a/anda/fonts/mini-wakuwaku/mini-wakuwaku-fonts.spec b/anda/fonts/mini-wakuwaku/mini-wakuwaku-fonts.spec index 29b729ce96..e18181ee0c 100644 --- a/anda/fonts/mini-wakuwaku/mini-wakuwaku-fonts.spec +++ b/anda/fonts/mini-wakuwaku/mini-wakuwaku-fonts.spec @@ -7,6 +7,7 @@ License: custom Summary: A fat looking, rounded and cute Japanese font BuildRequires: unzip + %description %{summary}.