[hfsplus-tools] ExcludeArch arm because clang doesn't select the correct float ABI.

Richard W.M. Jones rjones at fedoraproject.org
Tue Jun 10 17:25:09 UTC 2014


commit 535407467b9bbbc093e12dbacdb158db155720b8
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Jun 10 13:18:54 2014 -0400

    ExcludeArch arm because clang doesn't select the correct float ABI.
    
    - Remove unnecessary cruft not required by modern RPM.

 hfsplus-tools.spec |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/hfsplus-tools.spec b/hfsplus-tools.spec
index 2e94aae..98acee4 100644
--- a/hfsplus-tools.spec
+++ b/hfsplus-tools.spec
@@ -1,14 +1,12 @@
 Name:           hfsplus-tools
 Version:        540.1.linux3
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Tools to create/check Apple HFS+ filesystems
 
-Group:          System Environment/Base
 License:        APSL 2.0
 URL:            http://gentoo-wiki.com/HOWTO_hfsplus
 
 Source0: http://cavan.codon.org.uk/~mjg59/diskdev_cmds/diskdev_cmds-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Source100:      http://www.opensource.org/licenses/apsl-2.0.txt
 
@@ -16,6 +14,11 @@ BuildRequires: openssl-devel
 BuildRequires: clang
 BuildRequires: libuuid-devel
 
+# FTBFS on ARM because of a clang bug:
+# https://bugzilla.redhat.com/show_bug.cgi?id=803433
+# http://llvm.org/bugs/show_bug.cgi?id=15557
+ExcludeArch:    %{arm}
+
 # no clang there
 ExcludeArch: ppc s390
 
@@ -61,8 +64,6 @@ make %{?_smp_mflags} -f Makefile
 
 
 %install
-rm -rf %{buildroot}
-
 # the actual install...
 mkdir -p %{buildroot}/%{_sbindir}
 cp newfs_hfs.tproj/newfs_hfs %{buildroot}/%{_sbindir}/mkfs.hfsplus
@@ -82,12 +83,7 @@ cd %{buildroot}/%{_mandir}/man8
 ln -s fsck.hfsplus.8 fsck.hfs.8
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
 %doc apsl-2.0.txt
 %{_sbindir}/mkfs.hfsplus
 %{_sbindir}/fsck.hfsplus
@@ -98,6 +94,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Jun 10 2014 Richard W.M. Jones <rjones at redhat.com> - 540.1.linux3-7
+- ExcludeArch arm because clang doesn't select the correct float ABI.
+- Remove unnecessary cruft not required by modern RPM.
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 540.1.linux3-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list