Accepting request 83535 from home:jengelh:bl-f

- Apply packaging guidelines (remove redundant/obsolete
  tags/sections from specfile, etc.)

OBS-URL: https://build.opensuse.org/request/show/83535
OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=37
This commit is contained in:
Petr Gajdos 2011-10-03 06:34:28 +00:00 committed by Git OBS Bridge
parent e3728f4c56
commit 170358e998
2 changed files with 12 additions and 13 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Apply packaging guidelines (remove redundant/obsolete
tags/sections from specfile, etc.)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 21 10:36:23 UTC 2011 - coolo@novell.com Fri Jan 21 10:36:23 UTC 2011 - coolo@novell.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package fontconfig (Version 2.8.0) # spec file for package fontconfig
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,9 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: fontconfig Name: fontconfig
%define build_docs 0 %define build_docs 0
BuildRequires: freetype2-devel libexpat-devel pkgconfig BuildRequires: freetype2-devel libexpat-devel pkgconfig
@ -28,14 +25,13 @@ License: Public Domain, Freeware ; MIT License (or similar)
Provides: XFree86:/etc/fonts/fonts.dtd Provides: XFree86:/etc/fonts/fonts.dtd
Group: System/Libraries Group: System/Libraries
Url: http://fontconfig.org/ Url: http://fontconfig.org/
AutoReqProv: on
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: fontconfig-64bit Obsoletes: fontconfig-64bit
%endif %endif
Requires: bash Requires: bash
Version: 2.8.0 Version: 2.8.0
Release: 13 Release: 14
Summary: Library for Font Configuration Summary: Library for Font Configuration
# CVS can be found here: (CVS is gone, fontconfig uses git now). # CVS can be found here: (CVS is gone, fontconfig uses git now).
# $ cvs -d :pserver:anoncvs@pdx.freedesktop.org:/cvs/fontconfig login # $ cvs -d :pserver:anoncvs@pdx.freedesktop.org:/cvs/fontconfig login
@ -106,7 +102,7 @@ accepts font patterns and returns the nearest matching font.
%prep %prep
%setup -q %setup -q
%if %{build_docs} < 1 %if %{build_docs} < 1
tar xvf %{SOURCE1} tar -xvf %{SOURCE1}
%endif %endif
%patch5 -p0 -b .dynafont %patch5 -p0 -b .dynafont
%patch10 -p1 -b .fonts.conf %patch10 -p1 -b .fonts.conf
@ -133,11 +129,11 @@ accepts font patterns and returns the nearest matching font.
%else %else
# #
%endif %endif
make %{?jobs:-j %jobs} make %{?_smp_mflags}
%check %check
export MALLOC_CHECK_=2 export MALLOC_CHECK_=2
make %{?jobs:-j %jobs} check make %{?_smp_mflags} check
unset MALLOC_CHECK_ unset MALLOC_CHECK_
%install %install
@ -188,9 +184,6 @@ rm -f %{buildroot}%{_libdir}/*.la
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc %{_defaultdocdir}/%{name} %doc %{_defaultdocdir}/%{name}