Drop xorg-x11-util-macros build requires, not needed anymore

- Don't build on s390 (or ppc, if on RHEL)
- Force autoreconf to avoid libtool errors
This commit is contained in:
Peter Hutterer 2012-08-13 15:23:06 +10:00
parent b8e36de8ee
commit 2f76265ec9

View File

@ -3,7 +3,7 @@
Name: mtdev
Version: 1.1.2
Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{dist}
Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{dist}
Summary: Multitouch Protocol Translation Library
Group: System Environment/Libraries
@ -22,7 +22,8 @@ Source0: http://bitmath.org/code/%{name}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf automake libtool
BuildRequires: xorg-x11-util-macros >= 1.5.0-1
ExcludeArch: s390 s390x %{?rhel:ppc ppc64}
%description
%{name} is a stand-alone library which transforms all variants of kernel MT
@ -42,7 +43,7 @@ Multitouch protocol translation library development package.
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
%build
autoreconf -v --install || exit 1
autoreconf --force -v --install || exit 1
%configure --disable-static
make %{?_smp_mflags}
@ -74,6 +75,11 @@ rm -rf %{buildroot}
%{_bindir}/mtdev-test
%changelog
* Mon Aug 13 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.1.2-3
- Drop xorg-x11-util-macros build requires, not needed anymore
- Don't build on s390 (or ppc, if on RHEL)
- Force autoreconf to avoid libtool errors
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild