[sil-abyssinica-fonts] Fix build with latest release
Mathieu Bridon
bochecha at fedoraproject.org
Fri Feb 3 09:29:02 UTC 2012
commit ba5da488bb52e05b782395a56f9164c15d16ddca
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date: Fri Feb 3 17:18:02 2012 +0800
Fix build with latest release
sil-abyssinica-fonts.spec | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
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 <bochecha at fedoraproject.org> - 1.200-1
- New upstream release.
- Remove Obsoletes/Provides from package rename.
More information about the fonts-bugs
mailing list