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
b19e199b
Commit
b19e199b
authored
Mar 11, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2362 from jcftang/packaging-el5
Teach 'make rpm' to work on EL5 based systems
parents
a2200980
40ca1d4b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
3 deletions
+22
-3
Makefile
+4
-3
packaging/rpm/ansible.spec
+18
-0
No files found.
Makefile
View file @
b19e199b
...
...
@@ -154,6 +154,7 @@ rpm: rpmcommon
--define
"_specdir
$(RPMSPECDIR)
"
\
--define
"_sourcedir %{_topdir}"
\
--define
"_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm"
\
--define
"__python
`
which
$(PYTHON)
`
"
\
-ba
rpm-build/
$(NAME)
.spec
@
rm
-f
rpm-build/
$(NAME)
.spec
@
echo
"#############################################"
...
...
@@ -172,16 +173,16 @@ deb: debian
# for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory
modulepages
:
PYTHONPATH
=
./lib hacking/module_formatter.py
-A
$(VERSION)
-t
man
-o
docs/man/man3/
--module-dir
=
library
--template-dir
=
hacking/templates
PYTHONPATH
=
./lib
$(PYTHON)
hacking/module_formatter.py
-A
$(VERSION)
-t
man
-o
docs/man/man3/
--module-dir
=
library
--template-dir
=
hacking/templates
modulejson
:
mkdir
-p
docs/json
PYTHONPATH
=
./lib hacking/module_formatter.py
-A
$(VERSION)
-t
json
-o
docs/json
--module-dir
=
library
--template-dir
=
hacking/templates
PYTHONPATH
=
./lib
$(PYTHON)
hacking/module_formatter.py
-A
$(VERSION)
-t
json
-o
docs/json
--module-dir
=
library
--template-dir
=
hacking/templates
modulejs
:
mkdir
-p
docs/js
make modulejson
PYTHONPATH
=
./lib hacking/module_formatter.py
-A
$(VERSION)
-t
js
-o
docs/js
--module-dir
=
docs/json
--template-dir
=
hacking/templates
PYTHONPATH
=
./lib
$(PYTHON)
hacking/module_formatter.py
-A
$(VERSION)
-t
js
-o
docs/js
--module-dir
=
docs/json
--template-dir
=
hacking/templates
# because this requires Sphinx it is not run as part of every build, those building the RPM and so on can ignore this
...
...
packaging/rpm/ansible.spec
View file @
b19e199b
...
...
@@ -14,11 +14,19 @@ Source0: https://github.com/downloads/ansible/ansible/%{name}-%{version}.tar.gz
Url: http://ansible.github.com
BuildArch: noarch
%if 0%{?rhel} <= 5
BuildRequires: python26-devel
Requires: python26-PyYAML
Requires: python26-paramiko
Requires: python26-jinja2
%else
BuildRequires: python2-devel
Requires: PyYAML
Requires: python-paramiko
Requires: python-jinja2
%endif
%description
...
...
@@ -32,8 +40,13 @@ are transferred to managed machines automatically.
Summary: Ansible fireball transport support
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%if 0%{?rhel} <= 5
Requires: python26-keyczar
Requires: python26-zmq
%else
Requires: python-keyczar
Requires: python-zmq
%endif
%description fireball
...
...
@@ -44,8 +57,13 @@ multiple actions, but requires additional supporting packages.
%package node-fireball
Summary: Ansible fireball transport - node end support
Group: Development/Libraries
%if 0%{?rhel} <= 5
Requires: python26-keyczar
Requires: python26-zmq
%else
Requires: python-keyczar
Requires: python-zmq
%endif
%description node-fireball
...
...
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