rpms/sazanami-fonts/devel sazanami-fonts.spec,1.2,1.3
Jens Petersen (petersen)
fedora-extras-commits at redhat.com
Tue Aug 28 06:21:29 UTC 2007
Author: petersen
Update of /cvs/pkgs/rpms/sazanami-fonts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7292
Modified Files:
sazanami-fonts.spec
Log Message:
use the standard font scriptlets (#259041)
Index: sazanami-fonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sazanami-fonts/devel/sazanami-fonts.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sazanami-fonts.spec 27 Aug 2007 03:49:36 -0000 1.2
+++ sazanami-fonts.spec 28 Aug 2007 06:20:56 -0000 1.3
@@ -5,7 +5,7 @@
Name: sazanami-fonts
Version: 0.20040629
-Release: 3.%{fontver}%{?dist}
+Release: 4.%{fontver}%{?dist}
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ttmkfdir >= 3.0.6
@@ -87,16 +87,28 @@
rm -rf $RPM_BUILD_ROOT
%post gothic
-[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache %{gothfontdir}
+if [ -x %{_bindir}/fc-cache ]; then
+ %{_bindir}/fc-cache %{gothfontdir}
+fi
%postun gothic
-[ "$1" = "0" -a -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache %{_datadir}/fonts
+if [ "$1" = "0" ]; then
+ if [ -x %{_bindir}/fc-cache ]; then
+ %{_bindir}/fc-cache %{_datadir}/fonts
+ fi
+fi
%post mincho
-[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache %{minfontdir}
+if [ -x %{_bindir}/fc-cache ]; then
+ %{_bindir}/fc-cache %{minfontdir}
+fi
%postun mincho
-[ "$1" = "0" -a -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache %{_datadir}/fonts
+if [ "$1" = "0" ]; then
+ if [ -x %{_bindir}/fc-cache ]; then
+ %{_bindir}/fc-cache %{_datadir}/fonts
+ fi
+fi
%files gothic
%defattr(-, root, root, -)
@@ -119,6 +131,9 @@
%{catalogue}/%{name}-mincho
%changelog
+* Tue Aug 28 2007 Jens Petersen <petersen at redhat.com> - 0.20040629-4.20061016
+- use the standard font scriptlets (#259041)
+
* Thu Aug 23 2007 Akira TAGOH <tagoh at redhat.com> - 0.20040629-3.20061016
- Update %%description.
- Separate package for gothic and mincho.
More information about the fedora-extras-commits
mailing list