[libfontenc] libfontenc-1.1.0-1.fc16

Adam Jackson ajax at fedoraproject.org
Tue Jun 21 16:14:32 UTC 2011


commit 32a5fb20e79d19878cb01c39982adfa152dd7d5f
Author: Adam Jackson <ajax at redhat.com>
Date:   Tue Jun 21 12:14:18 2011 -0400

    libfontenc-1.1.0-1.fc16

 libfontenc-1.0.0-get-fontdir-from-pkgconfig.patch |   13 -----------
 libfontenc.spec                                   |   24 ++++++--------------
 2 files changed, 7 insertions(+), 30 deletions(-)
---
diff --git a/libfontenc.spec b/libfontenc.spec
index 3082665..937b03b 100644
--- a/libfontenc.spec
+++ b/libfontenc.spec
@@ -1,20 +1,17 @@
 Summary: X.Org X11 libfontenc runtime library
 Name: libfontenc
-Version: 1.0.5
-Release: 4%{?dist}
+Version: 1.1.0
+Release: 1%{?dist}
 License: MIT
 Group: System Environment/Libraries
 URL: http://www.x.org
 Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
-Patch0: libfontenc-1.0.0-get-fontdir-from-pkgconfig.patch
 
 BuildRequires: pkgconfig
 BuildRequires: xorg-x11-util-macros
 BuildRequires: xorg-x11-proto-devel
 BuildRequires: zlib-devel
 BuildRequires: xorg-x11-font-utils
-# FIXME: temporarily require autoconf for workaround
-BuildRequires: autoconf
 
 %description
 X.Org X11 libfontenc runtime library
@@ -29,17 +26,10 @@ X.Org X11 libfontenc development package
 
 %prep
 %setup -q
-%patch0 -p0 -b .get-fontdir-from-pkgconfig
-
-# Disable static library creation by default.
-%define with_static 0
 
 %build
-autoconf
-%configure \
-%if ! %{with_static}
-	--disable-static
-%endif
+export CFLAGS="$RPM_OPT_FLAGS -Os"
+%configure --disable-static
 make %{?_smp_mflags}
 
 %install
@@ -60,13 +50,13 @@ find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
 %files devel
 %defattr(-,root,root,-)
 %{_includedir}/X11/fonts/fontenc.h
-%if %{with_static}
-%{_libdir}/libfontenc.a
-%endif
 %{_libdir}/libfontenc.so
 %{_libdir}/pkgconfig/fontenc.pc
 
 %changelog
+* Tue Jun 21 2011 Adam Jackson <ajax at redhat.com> 1.1.0-1
+- libfontenc 1.1.0
+
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.5-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the fonts-bugs mailing list