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

Akira TAGOH tagoh at fedoraproject.org
Fri Nov 23 04:17:19 UTC 2012


commit 4aa2e2c20bf766bb1f9944630cd8e02513dde6ea
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Fri Nov 23 13:16:55 2012 +0900

    the spec file cleanup.

 ipa-gothic-fonts.spec |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/ipa-gothic-fonts.spec b/ipa-gothic-fonts.spec
index 2169fc5..ea3646f 100644
--- a/ipa-gothic-fonts.spec
+++ b/ipa-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
@@ -33,8 +32,6 @@ This package contains Gothic (sans-serif) style font.
 %build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir}
 install -m 0644 -p *.ttf $RPM_BUILD_ROOT%{_fontdir}
 
@@ -46,9 +43,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
 
@@ -56,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Nov 23 2012 Akira TAGOH <tagoh at redhat.com>
+- the spec file cleanup.
+
 * Fri Aug 17 2012 Akira TAGOH <tagoh at redhat.com> - 003.03-3
 - Enable hinting explicitly since autohinting seems broken for this font.
 


More information about the fonts-bugs mailing list