fix up sparc multilib handling

This commit is contained in:
Dennis Gilmore 2009-06-18 15:51:34 +00:00
parent faf2dc171c
commit 820eb23534
2 changed files with 6 additions and 3 deletions

View File

@ -17,7 +17,7 @@
#include "platform_defs-s390.h" #include "platform_defs-s390.h"
#elif defined(__sparc__) && defined(__arch64__) #elif defined(__sparc__) && defined(__arch64__)
#include "platform_defs-sparc64.h" #include "platform_defs-sparc64.h"
#elif defined(__sparc64__) #elif defined(__sparc__)
#include "platform_defs-sparc.h" #include "platform_defs-sparc.h"
#else #else
#error "This xfsprogs-devel package does not work your architecture?" #error "This xfsprogs-devel package does not work your architecture?"

View File

@ -1,7 +1,7 @@
Summary: Utilities for managing the XFS filesystem Summary: Utilities for managing the XFS filesystem
Name: xfsprogs Name: xfsprogs
Version: 3.0.1 Version: 3.0.1
Release: 6%{?dist} Release: 7%{?dist}
# Licensing based on generic "GNU GENERAL PUBLIC LICENSE" # Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
# in source, with no mention of version. # in source, with no mention of version.
# doc/COPYING file specifies what is GPL and what is LGPL # doc/COPYING file specifies what is GPL and what is LGPL
@ -97,7 +97,7 @@ chmod 0755 $RPM_BUILD_ROOT/%{_lib}/libhandle.so.*.*.*
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/
# ugly hack to allow parallel install of 32-bit and 64-bit -devel packages: # ugly hack to allow parallel install of 32-bit and 64-bit -devel packages:
%define multilib_arches %{ix86} x86_64 ppc ppc64 s390 s390x sparcv9 sparc64 %define multilib_arches %{ix86} x86_64 ppc ppc64 s390 s390x %{sparc}
%ifarch %{multilib_arches} %ifarch %{multilib_arches}
mv -f $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs.h \ mv -f $RPM_BUILD_ROOT%{_includedir}/xfs/platform_defs.h \
@ -195,6 +195,9 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/xfs/xfs_types.h %{_includedir}/xfs/xfs_types.h
%changelog %changelog
* Thu Jun 18 2009 Dennis Gilmore <dennis@ausil.us> 3.0.1-7
- update sparc multilib handling
* Mon Jun 15 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-6 * Mon Jun 15 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-6
- Make lazy superblock counters the default - Make lazy superblock counters the default