rpms/hunspell-fo/devel hunspell-fo.spec,1.6,1.7

Caolan McNamara caolanm at fedoraproject.org
Sat Jul 11 13:39:24 UTC 2009


Author: caolanm

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

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


Index: hunspell-fo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-fo/devel/hunspell-fo.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- hunspell-fo.spec	19 May 2009 11:27:38 -0000	1.6
+++ hunspell-fo.spec	11 Jul 2009 13:38:53 -0000	1.7
@@ -1,7 +1,7 @@
 Name: hunspell-fo
 Summary: Faroese hunspell dictionaries
 Version: 0.2.36
-Release: 1%{?dist}
+Release: 2%{?dist}
 Source: http://fo.speling.org/filer/myspell-fo-%{version}.tar.gz
 Group: Applications/Text
 URL: http://fo.speling.org/
@@ -19,10 +19,17 @@ Faroese hunspell dictionaries.
 
 %build
 for i in Copyright contributors README; do
+  if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
     iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
+    touch -r $i $i.new
     mv -f $i.new $i
+  fi
+  tr -d '\r' < $i > $i.new
+  touch -r $i $i.new
+  mv -f $i.new $i
 done
 
+
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
@@ -37,6 +44,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/myspell/*
 
 %changelog
+* Sat Jul 11 2009 Caolan McNamara <caolanm at redhat.com> - 0.2.36-2
+- tidy spec
+
 * Tue May 19 2009 Caolan McNamara <caolanm at redhat.com> - 0.2.36-1
 - latest version
 




More information about the fedora-extras-commits mailing list