diff --git a/efont-unicode-bdf.spec b/efont-unicode-bdf.spec index 56a772d..55c77e9 100644 --- a/efont-unicode-bdf.spec +++ b/efont-unicode-bdf.spec @@ -6,11 +6,10 @@ Name: %{name} Version: 0.4.2 -Release: 23%{?dist} +Release: 24%{?dist} Summary: Unicode font by Electronic Font Open Laboratory -Group: User Interface/X -License: BSD +License: BSD and Public Domain and Baekmuk and MIT URL: http://openlab.jp/efont/unicode/ Source0: http://openlab.jp/efont/dist/unicode-bdf/efont-unicode-bdf-%{version}.tar.bz2 BuildArch: noarch @@ -44,7 +43,6 @@ done %install # 1. install actual fonts -rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{fontdir} for g in *pcf.gz ; do install -m 644 $g $RPM_BUILD_ROOT%{fontdir} @@ -55,7 +53,7 @@ ttmkfdir -d $RPM_BUILD_ROOT%{fontdir} -o $RPM_BUILD_ROOT%{fontdir}/fonts.scale mkfontdir $RPM_BUILD_ROOT%{fontdir} # 2-2. create ghost files -touch $RPM_BUILD_ROOT%{fontdir}/{encodings.dir,fonts.cache-1} +touch $RPM_BUILD_ROOT%{fontdir}/encodings.dir # 2.3 create libXfont catalogue symlink mkdir -p $RPM_BUILD_ROOT%{catalogdir} @@ -69,29 +67,26 @@ popd ln -sf ../../..%{fontdir} fonts-%{name} popd -%post -umask 0133 -[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache %{fontdir} 2>/dev/null -exit 0 - -%postun -umask 0133 -[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache %{fontdir} 2>/dev/null -exit 0 - %files -%doc README* COPYRIGHT ChangeLog List.html +%license COPYRIGHT +%doc README* ChangeLog List.html %dir %{fontdir} %{fontdir}/*pcf.gz %verify(not md5 size mtime) %{fontdir}/fonts.scale %verify(not md5 size mtime) %{fontdir}/fonts.dir -%ghost %verify(not md5 size mtime) %{fontdir}/fonts.cache-1 %ghost %verify(not md5 size mtime) %{fontdir}/encodings.dir %{catalogdir}/fonts-%{name} %changelog +* Thu Jul 26 2018 Akira TAGOH - 0.4.2-24 +- Drop Group tag. +- No need to clean up buildroot. +- Do not create a ghost file for fonts.cache-1. +- No need to call fc-cache explicitly in scriptlets. +- Correct License tag. + * Thu Jul 12 2018 Fedora Release Engineering - 0.4.2-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild