mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fixes arch building file
Arch python binary patch was broken since improvement in 785068d
. This
change fixes patch, removing most of the lines thanks to the new PYTHON
variable.
New source file already uploaded on AUR.
This commit is contained in:
parent
b1a4fab7e1
commit
04b19062d3
2 changed files with 10 additions and 29 deletions
|
@ -1,6 +1,6 @@
|
||||||
#Maintainer: Michel Blanc <mblanc@erasme.org>
|
#Maintainer: Michel Blanc <mblanc@erasme.org>
|
||||||
pkgname=ansible-git
|
pkgname=ansible-git
|
||||||
pkgver=20130131
|
pkgver=20130311
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A radically simple deployment, model-driven configuration management, and command execution framework"
|
pkgdesc="A radically simple deployment, model-driven configuration management, and command execution framework"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -10,7 +10,7 @@ depends=('python2' 'python2-paramiko' 'python2-jinja' 'python2-yaml')
|
||||||
makedepends=('git' 'asciidoc' 'fakeroot')
|
makedepends=('git' 'asciidoc' 'fakeroot')
|
||||||
conflicts=('ansible')
|
conflicts=('ansible')
|
||||||
source=("python-binary.diff")
|
source=("python-binary.diff")
|
||||||
md5sums=("8f1eb942a01bbf206dbe32bded8725c6")
|
md5sums=("ab81876d8d4c86c27d137e3d86c25a3a")
|
||||||
|
|
||||||
_gitroot="https://github.com/ansible/ansible"
|
_gitroot="https://github.com/ansible/ansible"
|
||||||
_gitname="ansible"
|
_gitname="ansible"
|
||||||
|
|
|
@ -1,30 +1,11 @@
|
||||||
Les fichiers binaires ansible.orig/.git/index et ansible/.git/index sont différents
|
--- ansible.orig/Makefile 2013-03-11 23:12:32.586322115 +0100
|
||||||
diff -uNr ansible.orig/Makefile ansible/Makefile
|
+++ ansible/Makefile 2013-03-11 23:12:59.375487971 +0100
|
||||||
--- ansible.orig/Makefile 2012-11-16 09:30:00.232106580 +0100
|
@@ -28,7 +28,7 @@
|
||||||
+++ ansible/Makefile 2012-11-16 09:31:06.606482546 +0100
|
ASCII2MAN = @echo "ERROR: AsciiDoc 'a2x' command is not installed but is required to build $(MANPAGES)" && exit 1
|
||||||
@@ -24,7 +24,7 @@
|
endif
|
||||||
ASCII2HTMLMAN = a2x -D docs/html/man/ -d manpage -f xhtml
|
|
||||||
MANPAGES := docs/man/man1/ansible.1 docs/man/man1/ansible-playbook.1 docs/man/man1/ansible-pull.1
|
|
||||||
|
|
||||||
-SITELIB = $(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
|
-PYTHON=python
|
||||||
+SITELIB = $(shell python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
|
+PYTHON=python2
|
||||||
|
SITELIB = $(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
|
||||||
|
|
||||||
# VERSION file provides one place to update the software version
|
# VERSION file provides one place to update the software version
|
||||||
VERSION := $(shell cat VERSION)
|
|
||||||
@@ -111,13 +111,13 @@
|
|
||||||
rm -rf docs/js
|
|
||||||
|
|
||||||
python:
|
|
||||||
- python setup.py build
|
|
||||||
+ python2 setup.py build
|
|
||||||
|
|
||||||
install:
|
|
||||||
- python setup.py install
|
|
||||||
+ python2 setup.py install
|
|
||||||
|
|
||||||
sdist: clean docs
|
|
||||||
- python setup.py sdist -t MANIFEST.in
|
|
||||||
+ python2 setup.py sdist -t MANIFEST.in
|
|
||||||
|
|
||||||
rpmcommon: sdist
|
|
||||||
@mkdir -p rpm-build
|
|
||||||
|
|
Loading…
Reference in a new issue