new version 1.0.1

autoconf.h moved from lookaside to dist-git
This commit is contained in:
Luboš Uhliarik 2017-08-21 17:53:34 +02:00
parent 8957bb23fd
commit 24d3969981
3 changed files with 53 additions and 1 deletions

51
autoconf.h Normal file
View File

@ -0,0 +1,51 @@
/*
* This autoconf.h is a wrapper include file for the original libecap/common/autoconf.h,
* which has been renamed to autoconf-<arch>.h. There are conflicts for the
* original autoconf.h on multilib systems, which result from arch-specific
* configuration options. Please do not use the arch-specific file directly.
*/
/*
* This wrapped is addpated from SDL's one:
* http://pkgs.fedoraproject.org/cgit/SDL.git/tree/SDL_config.h
*/
#ifdef libecap_autoconf_wrapper_h
#error "libecap_autoconf_wrapper_h should not be defined!"
#endif
#define libecap_autoconf_wrapper_h
#if defined(__i386__)
#include "libecap/common/autoconf-i386.h"
#elif defined(__ia64__)
#include "libecap/common/autoconf-ia64.h"
#elif defined(__powerpc64__)
#include <endian.h>
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
#include "libecap/common/autoconf-ppc64.h"
#else
#include "libecap/common/autoconf-ppc64le.h"
#endif
#elif defined(__powerpc__)
#include "libecap/common/autoconf-ppc.h"
#elif defined(__s390x__)
#include "libecap/common/autoconf-s390x.h"
#elif defined(__s390__)
#include "libecap/common/autoconf-s390.h"
#elif defined(__x86_64__)
#include "libecap/common/autoconf-x86_64.h"
#elif defined(__arm__)
#include "libecap/common/autoconf-arm.h"
#elif defined(__alpha__)
#include "libecap/common/autoconf-alpha.h"
#elif defined(__sparc__) && defined (__arch64__)
#include "libecap/common/autoconf-sparc64.h"
#elif defined(__sparc__)
#include "libecap/common/autoconf-sparc.h"
#elif defined(__aarch64__)
#include "libecap/common/autoconf-aarch64.h"
#else
#error "The libecap-devel package is not usable with the architecture."
#endif
#undef libecap_autoconf_wrapper_h

View File

@ -66,6 +66,7 @@ install -m644 %{SOURCE1} %{buildroot}%{_includedir}/%{name}/common/autoconf.h
%changelog
* Mon Aug 21 2017 Luboš Uhliarik <luhliari@redhat.com> - 1.0.1-1
- new version 1.0.1
- autoconf.h moved from lookaside to dist-git
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

View File

@ -1 +1 @@
ba3b9025264e6c23e6413666fff9fdab libecap-1.0.1.tar.gz
SHA512 (libecap-1.0.1.tar.gz) = 0054ad11b3f558d7c623060a69207a1b8e679803cabdf1a2bce4b04335d71c016eec770fc9d2cbf3d0a93502c255cb528305f9f8e6df4e095fcb980667045919