Only BuildRequire transifex on OSes that include it.

This commit is contained in:
Chris Lumens 2013-09-24 13:39:20 -04:00
parent a48ae5f66f
commit 7fdb84adcb
2 changed files with 7 additions and 2 deletions

View File

@ -4,7 +4,7 @@ Summary: A python library for manipulating kickstart files
Name: pykickstart Name: pykickstart
Url: http://fedoraproject.org/wiki/pykickstart Url: http://fedoraproject.org/wiki/pykickstart
Version: 1.99.40 Version: 1.99.40
Release: 1%{?dist} Release: 2%{?dist}
# This is a Red Hat maintained package which is specific to # This is a Red Hat maintained package which is specific to
# our distribution. Thus the source is only available from # our distribution. Thus the source is only available from
# within this srpm. # within this srpm.
@ -15,7 +15,9 @@ Group: System Environment/Libraries
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel, gettext, python-setuptools-devel BuildRequires: python-devel, gettext, python-setuptools-devel
%if ! 0%{?rhel}
BuildRequires: transifex-client BuildRequires: transifex-client
%endif
Requires: python, python-urlgrabber Requires: python, python-urlgrabber
%description %description
@ -48,6 +50,9 @@ rm -rf %{buildroot}
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Tue Sep 24 2013 Chris Lumens <clumens@redhat.com> 1.99.40-2
- Only BuildRequire transifex on OSes that include it.
* Tue Sep 24 2013 Chris Lumens <clumens@redhat.com> - 1.99.40-1 * Tue Sep 24 2013 Chris Lumens <clumens@redhat.com> - 1.99.40-1
- Don't error out if volgroup --useexisting is given with no members. (clumens) - Don't error out if volgroup --useexisting is given with no members. (clumens)

View File

@ -1 +1 @@
7210c79eda536dd96ba8d75e78de445e pykickstart-1.99.40.tar.gz 163a926cc6b7f588bf6d330c8c0f41ad pykickstart-1.99.40.tar.gz