fix missing BuildRequires flex-static (RHBZ#889175)

This commit is contained in:
Michael Schwendt 2013-05-28 12:18:17 +02:00
parent 3f96c3ec5c
commit 076d9effd9

View File

@ -1,7 +1,7 @@
Summary: Run-time libraries and programs Summary: Run-time libraries and programs
Name: motif Name: motif
Version: 2.3.4 Version: 2.3.4
Release: 5%{?dist} Release: 6%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
Source: http://downloads.sf.net/motif/motif-%{version}-src.tgz Source: http://downloads.sf.net/motif/motif-%{version}-src.tgz
@ -14,10 +14,7 @@ Requires: xorg-x11-xinit
BuildRequires: automake, libtool, autoconf, flex BuildRequires: automake, libtool, autoconf, flex
# flex static libs have been part of flex for RHEL <= 6 and Fedora <= 12 # flex static libs have been part of flex for RHEL <= 6 and Fedora <= 12
%if 0%{?fedora} > 17 || 0%{?rhel} > 6 %if 0%{?fedora} > 12 || 0%{?rhel} > 6
BuildRequires: flex-devel
%endif
%if 0%{?fedora} > 12 && 0%{?fedora} <= 17
BuildRequires: flex-static BuildRequires: flex-static
%endif %endif
BuildRequires: byacc, pkgconfig BuildRequires: byacc, pkgconfig
@ -126,6 +123,9 @@ rm -rf %{buildroot}
%{_libdir}/lib*.a %{_libdir}/lib*.a
%changelog %changelog
* Tue May 28 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 2.3.4-6
- fix missing BuildRequires flex-static (RHBZ#889175)
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.4-5 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild