diff --git a/bitstream-vera-fonts.changes b/bitstream-vera-fonts.changes index 3c48dac..215f6f4 100644 --- a/bitstream-vera-fonts.changes +++ b/bitstream-vera-fonts.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 17 09:09:51 UTC 2012 - pgajdos@suse.com + +- call spec-cleaner + ------------------------------------------------------------------- Thu Mar 29 13:42:31 UTC 2012 - pgajdos@suse.com diff --git a/bitstream-vera-fonts.spec b/bitstream-vera-fonts.spec index 056912d..fe96121 100644 --- a/bitstream-vera-fonts.spec +++ b/bitstream-vera-fonts.spec @@ -1,7 +1,7 @@ # -# spec file for package bitstream-vera +# spec file for package bitstream-vera-fonts # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,24 +15,24 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define fontname bitstream-vera %define ttf_fontdir /usr/share/fonts/truetype Name: bitstream-vera-fonts -License: SUSE-Bitstream-Vera -Group: System/X11/Fonts -PreReq: %suseconfig_fonts_prereq Version: 1.10 Release: 304 +License: SUSE-Bitstream-Vera Summary: Bitstream Vera(tm) Truetype fonts -Source: ttf-%{fontname}-%{version}.tar.bz2 Url: http://www.bitstream.com -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch +Group: System/X11/Fonts +Source: ttf-%{fontname}-%{version}.tar.bz2 +Requires(pre): %suseconfig_fonts_prereq # FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version Obsoletes: %{fontname} <= 1.10 Provides: %{fontname} = %{version} - +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description The package contains the "Vera" truetype fonts from Bitstream Inc. @@ -43,8 +43,8 @@ The package contains the "Vera" truetype fonts from Bitstream Inc. %build %install -mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir} -install -m 0644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir} +mkdir -p %{buildroot}%{ttf_fontdir} +install -m 0644 *.ttf %{buildroot}%{ttf_fontdir} %post %run_suseconfig_fonts @@ -55,6 +55,6 @@ install -m 0644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir} %files %defattr(-,root,root,755) %doc COPYRIGHT.TXT RELEASENOTES.TXT README.TXT local.conf -/usr/share/fonts/truetype +%{_datadir}/fonts/truetype %changelog