[freetype] Generic 32/64 bit platform detection (fix it once and for all)

Peter Robinson pbrobinson at fedoraproject.org
Sat Aug 2 13:00:04 UTC 2014


commit 1978c3b6a93088157b93972cca3e0f5ffa3ce5fb
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Sat Aug 2 13:59:46 2014 +0100

    Generic 32/64 bit platform detection (fix it once and for all)

 freetype.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/freetype.spec b/freetype.spec
index a7e2545..fa8b662 100644
--- a/freetype.spec
+++ b/freetype.spec
@@ -7,7 +7,7 @@
 Summary: A free and portable font rendering engine
 Name: freetype
 Version: 2.5.3
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: (FTL or GPLv2+) and BSD and MIT and Public Domain and zlib with acknowledgement
 Group: System Environment/Libraries
 URL: http://www.freetype.org
@@ -147,7 +147,7 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 # fix multilib issues
-%ifarch x86_64 s390x ia64 ppc64 ppc64le alpha sparc64 aarch64
+%if %{__isa_bits} == 64
 %define wordsize 64
 %else
 %define wordsize 32
@@ -221,6 +221,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/*
 
 %changelog
+* Sat Aug  2 2014 Peter Robinson <pbrobinson at redhat.com> 2.5.3-7
+- Generic 32/64 bit platform detection (fix it once and for all)
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.5.3-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list