diff --git a/bitstream-vera-fonts.changes b/bitstream-vera-fonts.changes index 215f6f4..1eeaf23 100644 --- a/bitstream-vera-fonts.changes +++ b/bitstream-vera-fonts.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 4 12:39:06 CEST 2012 - pgajdos@suse.cz + +- amend spec file to reflect new font packaging scheme + (see openFATE#313536); + ------------------------------------------------------------------- Thu May 17 09:09:51 UTC 2012 - pgajdos@suse.com diff --git a/bitstream-vera-fonts.spec b/bitstream-vera-fonts.spec index fe96121..314cd90 100644 --- a/bitstream-vera-fonts.spec +++ b/bitstream-vera-fonts.spec @@ -17,17 +17,17 @@ %define fontname bitstream-vera -%define ttf_fontdir /usr/share/fonts/truetype Name: bitstream-vera-fonts Version: 1.10 -Release: 304 -License: SUSE-Bitstream-Vera +Release: 0 Summary: Bitstream Vera(tm) Truetype fonts -Url: http://www.bitstream.com +License: SUSE-Bitstream-Vera Group: System/X11/Fonts +Url: http://www.bitstream.com Source: ttf-%{fontname}-%{version}.tar.bz2 -Requires(pre): %suseconfig_fonts_prereq +BuildRequires: fontpackages-devel +%reconfigure_fonts_prereq # FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version Obsoletes: %{fontname} <= 1.10 Provides: %{fontname} = %{version} @@ -43,18 +43,14 @@ The package contains the "Vera" truetype fonts from Bitstream Inc. %build %install -mkdir -p %{buildroot}%{ttf_fontdir} -install -m 0644 *.ttf %{buildroot}%{ttf_fontdir} +mkdir -p %{buildroot}%{_ttfontsdir} +install -m 0644 *.ttf %{buildroot}%{_ttfontsdir} -%post -%run_suseconfig_fonts - -%postun -%run_suseconfig_fonts +%reconfigure_fonts_scriptlets %files %defattr(-,root,root,755) %doc COPYRIGHT.TXT RELEASENOTES.TXT README.TXT local.conf -%{_datadir}/fonts/truetype +%{_ttfontsdir} %changelog