rpms/hunspell-lt/devel hunspell-lt.spec,1.7,1.8

Caolan McNamara caolanm at fedoraproject.org
Sat Jul 11 15:57:12 UTC 2009


Author: caolanm

Update of /cvs/pkgs/rpms/hunspell-lt/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19043

Modified Files:
	hunspell-lt.spec 
Log Message:
tidy spec


Index: hunspell-lt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-lt/devel/hunspell-lt.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- hunspell-lt.spec	10 Jul 2009 08:58:00 -0000	1.7
+++ hunspell-lt.spec	11 Jul 2009 15:56:42 -0000	1.8
@@ -1,7 +1,7 @@
 Name: hunspell-lt
 Summary: Lithuanian hunspell dictionaries
 Version: 1.2.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 Source: ftp://ftp.akl.lt/ispell-lt/lt_LT-%{version}.zip
 Group: Applications/Text
 URL: ftp://ftp.akl.lt/ispell-lt/
@@ -19,9 +19,11 @@ Lithuanian hunspell dictionaries.
 
 %build
 chmod -x *
-tr -d '\r' < INSTRUKCIJOS.txt > INSTRUKCIJOS.txt.new
-touch -r INSTRUKCIJOS.txt INSTRUKCIJOS.txt.new
-mv INSTRUKCIJOS.txt.new INSTRUKCIJOS.txt
+for i in INSTRUKCIJOS.txt; do
+  tr -d '\r' < $i > $i.new
+  touch -r $i $i.new
+  mv -f $i.new $i
+done
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -37,6 +39,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/myspell/*
 
 %changelog
+* Sat Jul 11 2009 Caolan McNamara <caolanm at redhat.com> - 1.2.1-4
+- clean spec
+
 * Fri Jul 10 2009 Caolan McNamara <caolanm at redhat.com> - 1.2.1-3
 - clean spec
 




More information about the scm-commits mailing list