[ipa-ex-gothic-fonts] the spec file cleanup

Akira TAGOH tagoh at fedoraproject.org
Fri Nov 23 04:27:41 UTC 2012


commit 1ef43a35adb53f6cc7f68de8abd01f95a14c0d28
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Fri Nov 23 13:27:12 2012 +0900

    the spec file cleanup

 ipa-ex-gothic-fonts.spec |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/ipa-ex-gothic-fonts.spec b/ipa-ex-gothic-fonts.spec
index 132df4a..11a4847 100644
--- a/ipa-ex-gothic-fonts.spec
+++ b/ipa-ex-gothic-fonts.spec
@@ -14,7 +14,6 @@ License:	IPA
 URL:		http://ossipedia.ipa.go.jp/ipafont/
 Source0:	http://info.openlab.ipa.go.jp/ipafont/fontdata/%{archivename}.zip
 Source1:	%{name}-fontconfig.conf
-BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 BuildArch:	noarch
 BuildRequires:	fontpackages-devel
@@ -34,8 +33,6 @@ touch -r Readme_%{archivename}.txt Readme_%{archivename}.utf8.txt
 %build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir}
 install -m 0644 -p *.ttf $RPM_BUILD_ROOT%{_fontdir}
 
@@ -47,9 +44,6 @@ install -m 0644 -p	%{SOURCE1}	\
 ln -s	%{_fontconfig_templatedir}/%{fontconf}	\
 	$RPM_BUILD_ROOT%{_fontconfig_confdir}/%{fontconf}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 
 %_font_pkg -f %{fontconf} *.ttf
 
@@ -57,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Nov 23 2012 Akira TAGOH <tagoh at redhat.com>
+- the spec file cleanup
+
 * Fri Nov  9 2012 Akira TAGOH <tagoh at redhat.com> - 002.01-1
 - New upstream release.
 


More information about the fonts-bugs mailing list