rpms/mythes-it/devel mythes-it.spec,1.2,1.3

Caolan McNamara caolanm at fedoraproject.org
Fri Jul 10 15:59:02 UTC 2009


Author: caolanm

Update of /cvs/pkgs/rpms/mythes-it/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9666

Modified Files:
	mythes-it.spec 
Log Message:
tidy spec


Index: mythes-it.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mythes-it/devel/mythes-it.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- mythes-it.spec	26 Feb 2009 03:54:21 -0000	1.2
+++ mythes-it.spec	10 Jul 2009 15:59:02 -0000	1.3
@@ -1,7 +1,7 @@
 Name: mythes-it
 Summary: Italian thesaurus
 Version: 2.0.9l
-Release: 2%{?dist}
+Release: 3%{?dist}
 Source: http://downloads.sourceforge.net/sourceforge/linguistico/thesaurus2_it_02_09_l_2008_11_29.zip
 Group: Applications/Text
 URL: http://linguistico.sourceforge.net/pages/thesaurus_italiano.html
@@ -17,10 +17,17 @@ Italian thesaurus.
 
 %build
 for i in th_it_IT_README th_it_IT_ChangeLog th_it_IT_AUTHORS; 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}/mythes
@@ -44,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/mythes/*
 
 %changelog
+* Fri Jul 10 2009 Caolan McNamara <caolanm at redhat.com> - 2.0.9l-3
+- tidy spec
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.9l-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list