rpms/mythes-pl/devel mythes-pl.spec,1.4,1.5
Caolan McNamara
caolanm at fedoraproject.org
Fri Jul 10 15:47:27 UTC 2009
Author: caolanm
Update of /cvs/pkgs/rpms/mythes-pl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3955
Modified Files:
mythes-pl.spec
Log Message:
clean spec
Index: mythes-pl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mythes-pl/devel/mythes-pl.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- mythes-pl.spec 26 Feb 2009 03:56:09 -0000 1.4
+++ mythes-pl.spec 10 Jul 2009 15:46:56 -0000 1.5
@@ -1,7 +1,7 @@
Name: mythes-pl
Summary: Polish thesaurus
Version: 1.5
-Release: 2%{?dist}
+Release: 3%{?dist}
Source: http://downloads.sourceforge.net/synonimy/OOo2-Thesaurus-%{version}.zip
Group: Applications/Text
URL: http://synonimy.ux.pl/
@@ -17,8 +17,13 @@ Polish thesaurus.
%setup -q -c
%build
-iconv -f ISO-8859-2 -t UTF-8 README_th_pl_PL_v2.txt > README_th_pl_PL_v2.txt.new
-mv -f README_th_pl_PL_v2.txt.new README_th_pl_PL_v2.txt
+for i in README_th_pl_PL_v2.txt; do
+ if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
+ iconv -f ISO-8859-2 -t UTF-8 $i | tr -d '\r' > $i.new
+ touch -r $i $i.new
+ mv -f $i.new $i
+ fi
+done
%install
rm -rf $RPM_BUILD_ROOT
@@ -35,6 +40,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/mythes/*
%changelog
+* Fri Jul 10 2009 Caolan McNamara <caolanm at redhat.com> - 1.5-3
+- clean spec
+
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list