Fix build with latest release

This commit is contained in:
Mathieu Bridon 2012-02-03 17:18:02 +08:00
parent 8d8b35496f
commit ba5da488bb

View File

@ -1,4 +1,5 @@
%global fontname sil-abyssinica
%global archive_name AbyssinicaSIL
%global fontconf 66-%{fontname}.conf
Name: %{fontname}-fonts
@ -10,7 +11,7 @@ Group: User Interface/X
License: OFL
URL: http://scripts.sil.org/AbyssinicaSIL
# download from http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=AbyssinicaSIL1.200.zip&filename=AbyssinicaSIL1.200.zip
Source0: AbyssinicaSIL%{version}.zip
Source0: %{archive_name}%{version}.zip
Source1: %{fontconf}
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
@ -36,11 +37,11 @@ a regular typeface, with no bold or italic version available or planned.
%prep
%setup -q -c
%setup -q -n %{archive_name}-%{version}
%build
dos2unix FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt
dos2unix FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt documentation/DOCUMENTATION.txt
%install
@ -64,9 +65,12 @@ rm -rf %{buildroot}
%_font_pkg -f %{fontconf} *.ttf
%doc FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt
%doc documentation/*
%changelog
- Fix build with latest release.
* Fri Feb 03 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 1.200-1
- New upstream release.
- Remove Obsoletes/Provides from package rename.