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

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