Add support for building on aarch64 (bug #925774).

This commit is contained in:
Tim Waugh 2013-04-30 13:07:31 +01:00
parent f558e2e10e
commit eb0428f7b2
2 changed files with 2691 additions and 1 deletions

2682
libieee1284-aarch64.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,13 @@
Summary: A library for interfacing IEEE 1284-compatible devices
Name: libieee1284
Version: 0.2.11
Release: 13%{?dist}
Release: 14%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://cyberelk.net/tim/libieee1284/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Patch1: libieee1284-strict-aliasing.patch
Patch2: libieee1284-aarch64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: xmlto, python-devel
@ -33,8 +34,12 @@ use 'import ieee1284'.
%prep
%setup -q
# Fixed strict aliasing warnings (bug #605170).
%patch1 -p1 -b .strict-aliasing
# Add support for building on aarch64 (bug #925774).
%patch2 -p1 -b .aarch64
%build
touch doc/interface.xml
%configure
@ -71,6 +76,9 @@ rm -rf %{buildroot}
%postun -p /sbin/ldconfig
%changelog
* Tue Apr 30 2013 Tim Waugh <twaugh@redhat.com> 0.2.11-14
- Add support for building on aarch64 (bug #925774).
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild