[hunspell-si/f18] Resolves:rh#879152 - spec cleanup for recent packaging guidelines

pnemade pnemade at fedoraproject.org
Thu Nov 22 10:30:16 UTC 2012


commit b0dfc8f1ee157839fb7e6fb2e721a345e85116a2
Author: Parag Nemade <pnemade at redhat.com>
Date:   Thu Nov 22 16:01:35 2012 +0530

    Resolves:rh#879152 - spec cleanup for recent packaging guidelines

 hunspell-si.spec |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/hunspell-si.spec b/hunspell-si.spec
index 34738cc..e8dde00 100644
--- a/hunspell-si.spec
+++ b/hunspell-si.spec
@@ -1,11 +1,11 @@
 Name: hunspell-si
 Summary: Sinhala hunspell dictionaries
 Version: 0.2.1
-Release: 6%{?dist}
+Release: 7%{?dist}
 Source: http://www.sandaru1.com/si-LK.tar.gz
 Group: Applications/Text
+#Following URL is down since few months informed to upstream
 URL: http://www.sandaru1.com/2009/08/29/sinhala-spell-checker-for-firefox/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 License: GPLv2+
 BuildArch: noarch
 Requires: hunspell
@@ -20,20 +20,18 @@ Sinhala hunspell dictionaries.
 #nothing to build
 
 %install
-rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
 cp -p dictionaries/si-LK.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/si_LK.aff
 cp -p dictionaries/si-LK.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/si_LK.dic
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc LICENSE README
 %{_datadir}/myspell/*
 
 %changelog
+* Thu Nov 22 2012 Parag Nemade <pnemade AT redhat.com> - 0.2.1-7
+- Resolves:rh#879152 - spec cleanup for recent packaging guidelines 
+
 * Thu Aug 23 2012 Parag Nemade <pnemade AT redhat.com> - 0.2.1-6
 - Resolves:rh#848847:-Source URL not working
 


More information about the scm-commits mailing list