Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
3821e8dd
Commit
3821e8dd
authored
Mar 17, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2428 from ciupicri/devel-rpm
RPM packaging: check properly if using RHEL5 or older
parents
6988ccf9
4d84a358
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
packaging/rpm/ansible.spec
+4
-4
No files found.
packaging/rpm/ansible.spec
View file @
3821e8dd
%if 0%{?rhel} <= 5
%if 0%{?rhel}
&& 0%{?rhel}
<= 5
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%endif
...
...
@@ -14,7 +14,7 @@ Source0: https://github.com/downloads/ansible/ansible/%{name}-%{version}.tar.gz
Url: http://ansible.github.com
BuildArch: noarch
%if 0%{?rhel} <= 5
%if 0%{?rhel}
&& 0%{?rhel}
<= 5
BuildRequires: python26-devel
Requires: python26-PyYAML
...
...
@@ -40,7 +40,7 @@ are transferred to managed machines automatically.
Summary: Ansible fireball transport support
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%if 0%{?rhel} <= 5
%if 0%{?rhel}
&& 0%{?rhel}
<= 5
Requires: python26-keyczar
Requires: python26-zmq
%else
...
...
@@ -57,7 +57,7 @@ multiple actions, but requires additional supporting packages.
%package node-fireball
Summary: Ansible fireball transport - node end support
Group: Development/Libraries
%if 0%{?rhel} <= 5
%if 0%{?rhel}
&& 0%{?rhel}
<= 5
Requires: python26-keyczar
Requires: python26-zmq
%else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment