[smc-fonts/f18] Spec file clean up #880052

Pravin Satpute pravins at fedoraproject.org
Tue Nov 27 05:17:37 UTC 2012


commit a693362c5a92751923fd93e20c39edd764b11347
Author: प्रविण सातपुते <psatpute at redhat.com>
Date:   Tue Nov 27 10:47:19 2012 +0530

    Spec file clean up #880052

 smc-fonts.spec |   25 ++++---------------------
 1 files changed, 4 insertions(+), 21 deletions(-)
---
diff --git a/smc-fonts.spec b/smc-fonts.spec
index af3a26c..ba604d3 100644
--- a/smc-fonts.spec
+++ b/smc-fonts.spec
@@ -7,7 +7,7 @@ traditional and new Malayalam Script.
 
 Name:		%{fontname}-fonts
 Version:	5.0.1
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	Open Type Fonts for Malayalam script
 Group:		User Interface/X
 License:	GPLv3+ with exceptions and GPLv2+ with exceptions and GPLv2+ and  GPLv2 and GPL+
@@ -24,7 +24,6 @@ Source8: AnjaliOldLipi-license-confirmation-email.txt
 BuildArch:	noarch
 BuildRequires:	fontpackages-devel > 1.13
 BuildRequires:	fontforge >= 20080429
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Patch1: bug-803234.patch
 
 %description
@@ -43,8 +42,6 @@ Summary: Open Type Fonts for Malayalam script
 Group: User Interface/X 
 Requires: %{name}-common = %{version}-%{release}
 License: GPLv3+ with exceptions
-Provides: %{fontname}-fonts-dyuthi = %{version}-%{release}
-Obsoletes: %{name}-dyuthi < 5.0
 %description -n %{fontname}-dyuthi-fonts
 The Dyuthi font package contains fonts for the display of
 traditional Malayalam Scripts.
@@ -56,8 +53,6 @@ Summary: Open Type Fonts for Malayalam script
 Group: User Interface/X 
 Requires: %{name}-common = %{version}-%{release}
 License: GPLv2+ with exceptions
-Provides: %{fontname}-fonts-meera = %{version}-%{release}
-Obsoletes: %{name}-meera < 5.0
 %description -n %{fontname}-meera-fonts
 The Meera font package contains fonts for the display of
 traditional Malayalam Scripts.
@@ -71,8 +66,6 @@ Summary: Open Type Fonts for Malayalam script
 Group: User Interface/X 
 Requires: %{name}-common = %{version}-%{release}
 License: GPLv2+
-Provides: %{fontname}-fonts-rachana = %{version}-%{release}
-Obsoletes: %{name}-rachana < 5.0
 %description -n %{fontname}-rachana-fonts
 The Rachana font package contains fonts for the display of
 traditional Malayalam Scripts.
@@ -86,8 +79,6 @@ Summary: Open Type Fonts for Malayalam script
 Group: User Interface/X 
 Requires: %{name}-common = %{version}-%{release}
 License: GPLv2
-Provides: %{fontname}-fonts-raghumalayalam = %{version}-%{release}
-Obsoletes: %{name}-raghumalayalam < 5.0
 %description -n %{fontname}-raghumalayalam-fonts
 The SMC Malayalam fonts package contains fonts for the display of
 new Malayalam Scripts.
@@ -99,8 +90,6 @@ Summary: Open Type Fonts for Malayalam script
 Group: User Interface/X 
 Requires: %{name}-common = %{version}-%{release}
 License: GPLv3 with exceptions
-Provides: %{fontname}-fonts-suruma = %{version}-%{release}
-Obsoletes: %{name}-suruma < 5.0
 %description -n %{fontname}-suruma-fonts
 The Suruma font package contains fonts for the display of
 traditional Malayalam Scripts.
@@ -112,8 +101,6 @@ Summary: Open Type Fonts for Malayalam script
 Group: User Interface/X
 Requires: %{name}-common = %{version}-%{release}
 License: GPLv3+ with exceptions
-Provides: %{fontname}-fonts-kalyani = %{version}-%{release}
-Obsoletes: %{name}-kalyani < 5.0
 %description -n %{fontname}-kalyani-fonts
 The Kalyani font package contains fonts for the display of
 new Malayalam Scripts.
@@ -125,8 +112,6 @@ Summary: Open Type Fonts for Malayalam script
 Group: User Interface/X
 Requires: %{name}-common = %{version}-%{release}
 License: GPL+
-Provides: %{fontname}-fonts-anjalioldlipi = %{version}-%{release}
-Obsoletes: %{name}-anjalioldlipi < 5.0
 %description -n %{fontname}-anjalioldlipi-fonts
 The Anjali OldLipi package contains fonts for the display of
 traditional Malayalam Scripts.
@@ -144,7 +129,6 @@ chmod +x generate.pe
 make
 
 %install
-rm -rf %{buildroot}
 install -m 0755 -d %{buildroot}%{_fontdir}
 install -m 0644 -p AnjaliOldLipi/*.ttf %{buildroot}%{_fontdir}
 install -m 0644 -p Dyuthi/*.ttf %{buildroot}%{_fontdir}
@@ -182,15 +166,14 @@ for fconf in 65-0-smc-meera.conf \
 done
 
 
-%clean
-rm -fr %{buildroot}
-
 
 %files common
-%defattr(-,root,root,-) 
 %doc ChangeLog 
 
 %changelog
+* Tue Nov 27 2012 Pravin Satpute <psatpute at redhat.com> 5.0.1-4
+- Spec file clean up #880052
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5.0.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the fonts-bugs mailing list