rpms/fonts-hebrew/devel fonts-hebrew.spec,1.6,1.7

Rahul Bhalerao (rbhalera) fedora-extras-commits at redhat.com
Fri Jul 27 09:49:44 UTC 2007


Author: rbhalera

Update of /cvs/pkgs/rpms/fonts-hebrew/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18159

Modified Files:
	fonts-hebrew.spec 
Log Message:
SPEC cleanup for merge review


Index: fonts-hebrew.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fonts-hebrew/devel/fonts-hebrew.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- fonts-hebrew.spec	12 Jul 2006 05:49:35 -0000	1.6
+++ fonts-hebrew.spec	27 Jul 2007 09:49:12 -0000	1.7
@@ -2,17 +2,17 @@
 
 Name: fonts-hebrew
 Version: 0.100
-Release: 4.1.1
+Release: 5%{?dist}
 License: GPL
 Source: culmus-%{culmus_version}.tar.gz
 Source1: LICENSE-BITSTREAM
-BuildRoot: %{_tmppath}/%{name}-root
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
 Group: User Interface/X
 Summary: Fonts for Hebrew
 URL: http://culmus.sourceforge.net/
 # Require this version to get CLM names in fonts.conf
-Prereq: fontconfig >= 2.2.3-4
+Requires: fontconfig >= 2.2.3-4
  
 %description
 The fonts-hebrew package contains fonts for the display of
@@ -20,7 +20,9 @@
 
 %prep
 %setup -q -n culmus-%{culmus_version}
-cp %SOURCE1 .
+install -c -p -m 644 %SOURCE1 .
+
+%build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -34,11 +36,15 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-fc-cache %{_datadir}/fonts
+if [ -x %{_bindir}/fc-cache ]; then
+  %{_bindir}/fc-cache /usr/share/fonts
+fi
 
 %postun
 if [ "$1" = "0" ]; then
-	fc-cache %{_datadir}/fonts
+  if [ -x %{_bindir}/fc-cache ]; then
+    %{_bindir}/fc-cache /usr/share/fonts
+  fi
 fi
 
 %files
@@ -50,6 +56,9 @@
 %ghost %verify(not md5 size mtime) %{_datadir}/fonts/hebrew/fonts.cache-1
 
 %changelog
+* Fri Jul 27 2007 Rahul Bhalerao <rbhalera at redhat.com> - 0.100-5.fc8
+- SPEC cleanup as part of merge review #225762
+
 * Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 0.100-4.1.1
 - rebuild
 




More information about the fedora-extras-commits mailing list