diff --git a/sil-abyssinica-fonts.spec b/sil-abyssinica-fonts.spec index 4ef7c22..da5cb9c 100644 --- a/sil-abyssinica-fonts.spec +++ b/sil-abyssinica-fonts.spec @@ -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 - 1.200-1 - New upstream release. - Remove Obsoletes/Provides from package rename.