* Fri Sep 07 2007 Eric Sandeen <esandeen@redhat.com> 1.40.2-5
- wrap a couple headers to fix multilib issues (#270441)
This commit is contained in:
parent
aec3b3930f
commit
6a970e3870
23
blkid_types-wrapper.h
Normal file
23
blkid_types-wrapper.h
Normal file
@ -0,0 +1,23 @@
|
||||
/* This file is here to prevent a file conflict on multiarch systems. A
|
||||
* conflict will occur because blkid_types.h has arch-specific definitions.
|
||||
*
|
||||
* DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */
|
||||
|
||||
#if defined(__i386__)
|
||||
#include "blkid_types-i386.h"
|
||||
#elif defined(__ia64__)
|
||||
#include "blkid_types-ia64.h"
|
||||
#elif defined(__powerpc64__)
|
||||
#include "blkid_types-ppc64.h"
|
||||
#elif defined(__powerpc__)
|
||||
#include "blkid_types-ppc.h"
|
||||
#elif defined(__s390x__)
|
||||
#include "blkid_types-s390x.h"
|
||||
#elif defined(__s390__)
|
||||
#include "blkid_types-s390.h"
|
||||
#elif defined(__x86_64__)
|
||||
#include "blkid_types-x86_64.h"
|
||||
#else
|
||||
#error "This e2fsprogs-devel package does not work your architecture?"
|
||||
#endif
|
||||
|
@ -4,12 +4,14 @@
|
||||
Summary: Utilities for managing the second and third extended (ext2/ext3) filesystems
|
||||
Name: e2fsprogs
|
||||
Version: 1.40.2
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
# License based on upstream-modified COPYING file,
|
||||
# which clearly states "V2" intent.
|
||||
License: GPLv2
|
||||
Group: System Environment/Base
|
||||
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Source1: ext2_types-wrapper.h
|
||||
Source2: blkid_types-wrapper.h
|
||||
Patch30: e2fsprogs-1.38-resize-inode.patch
|
||||
Patch32: e2fsprogs-1.38-no_pottcdate.patch
|
||||
Patch34: e2fsprogs-1.39-blkid-devmapper.patch
|
||||
@ -110,6 +112,16 @@ rm -rf %{buildroot}
|
||||
export PATH=/sbin:$PATH
|
||||
make install install-libs DESTDIR="%{buildroot}" \
|
||||
root_sbindir=%{_root_sbindir} root_libdir=%{_root_libdir}
|
||||
|
||||
# ugly hack to allow parallel install of 32-bit and 64-bit -devel packages:
|
||||
mv -f $RPM_BUILD_ROOT%{_includedir}/ext2fs/ext2_types.h \
|
||||
$RPM_BUILD_ROOT%{_includedir}/ext2fs/ext2_types-%{_arch}.h
|
||||
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_includedir}/ext2fs/ext2_types.h
|
||||
|
||||
mv -f $RPM_BUILD_ROOT%{_includedir}/blkid/blkid_types.h \
|
||||
$RPM_BUILD_ROOT%{_includedir}/blkid/blkid_types-%{_arch}.h
|
||||
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_includedir}/blkid/blkid_types.h
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%check
|
||||
@ -248,8 +260,11 @@ exit 0
|
||||
%{_mandir}/man3/uuid_unparse.3*
|
||||
|
||||
%changelog
|
||||
* Fri Sep 07 2007 Eric Sandeen <esandeen@redhat.com> 1.40.2-5
|
||||
- wrap a couple headers to fix multilib issues (#270441)
|
||||
|
||||
* Wed Aug 29 2007 Eric Sandeen <esandeen@redhat.com> 1.40.2-4
|
||||
- add gawk to e2fsprogs-devel Requires, compile_et needs it
|
||||
- add gawk to e2fsprogs-devel Requires, compile_et needs it (#265961)
|
||||
|
||||
* Thu Aug 23 2007 Eric Sandeen <esandeen@redhat.com> 1.40.2-3
|
||||
- Update license tags
|
||||
|
23
ext2_types-wrapper.h
Normal file
23
ext2_types-wrapper.h
Normal file
@ -0,0 +1,23 @@
|
||||
/* This file is here to prevent a file conflict on multiarch systems. A
|
||||
* conflict will occur because ext2_types.h has arch-specific definitions.
|
||||
*
|
||||
* DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */
|
||||
|
||||
#if defined(__i386__)
|
||||
#include "ext2_types-i386.h"
|
||||
#elif defined(__ia64__)
|
||||
#include "ext2_types-ia64.h"
|
||||
#elif defined(__powerpc64__)
|
||||
#include "ext2_types-ppc64.h"
|
||||
#elif defined(__powerpc__)
|
||||
#include "ext2_types-ppc.h"
|
||||
#elif defined(__s390x__)
|
||||
#include "ext2_types-s390x.h"
|
||||
#elif defined(__s390__)
|
||||
#include "ext2_types-s390.h"
|
||||
#elif defined(__x86_64__)
|
||||
#include "ext2_types-x86_64.h"
|
||||
#else
|
||||
#error "This e2fsprogs-devel package does not work your architecture?"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user