tidy spec
This commit is contained in:
parent
9644e6d24e
commit
3f83fcf7e8
@ -1,7 +1,7 @@
|
|||||||
Name: hyphen-bg
|
Name: hyphen-bg
|
||||||
Summary: Bulgarian hyphenation rules
|
Summary: Bulgarian hyphenation rules
|
||||||
Version: 4.1
|
Version: 4.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Source: http://downloads.sourceforge.net/bgoffice/OOo-hyph-bg-%{version}.zip
|
Source: http://downloads.sourceforge.net/bgoffice/OOo-hyph-bg-%{version}.zip
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
URL: http://bgoffice.sourceforge.net/
|
URL: http://bgoffice.sourceforge.net/
|
||||||
@ -18,10 +18,16 @@ Bulgarian hyphenation rules.
|
|||||||
%setup -q -n OOo-hyph-bg-%{version}
|
%setup -q -n OOo-hyph-bg-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
tr -d '\r' < README > README.new
|
for i in README COPYING; do
|
||||||
iconv -f ISO-8859-2 -t UTF-8 README.new > README
|
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
|
||||||
tr -d '\r' < COPYING > COPYING.new
|
iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
|
||||||
mv COPYING.new COPYING
|
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
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -37,6 +43,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/hyphen/*
|
%{_datadir}/hyphen/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 10 2009 Caolan McNamara <caolanm@redhat.com> - 4.1-3
|
||||||
|
- tidy spec
|
||||||
|
|
||||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-2
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user