[ipa-mincho-fonts] the spec file cleanup

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


commit a84b9ca1e6fc6ee27b8d1de8df36d2ccc315b017
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Fri Nov 23 13:18:48 2012 +0900

    the spec file cleanup

 ipa-mincho-fonts.spec |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/ipa-mincho-fonts.spec b/ipa-mincho-fonts.spec
index c92a4ff..d8fe9f2 100644
--- a/ipa-mincho-fonts.spec
+++ b/ipa-mincho-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 Mincho 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 autohinting explicitly since the own hinting seems broken.
 


More information about the fonts-bugs mailing list