diff options
author | Gabriel Ganne <gabriel.ganne@enea.com> | 2018-01-25 10:03:13 +0100 |
---|---|---|
committer | Gabriel Ganne <gabriel.ganne@enea.com> | 2018-01-25 10:05:18 +0100 |
commit | b295782c0261f4580fcb8ba4b8d22651bb30b471 (patch) | |
tree | 3c18ec75333039003e444cf21f7a9e2faeacc872 /Makefile | |
parent | da38715fa9ffaa3f8952738606161066ed2e6a4c (diff) |
fixup python ply package name for fedora >= 25
package name is:
* python-ply for centos7/rhel7
* python2-ply / python3-ply for fedora >= 25
Change-Id: Id021802a46a0cc29e9db57e18841a76575437002
Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -88,12 +88,12 @@ RPM_DEPENDS += subunit subunit-devel ifeq ($(OS_ID)-$(OS_VERSION_ID),fedora-25) RPM_DEPENDS += openssl-devel - RPM_DEPENDS += python-devel python-ply + RPM_DEPENDS += python-devel python2-ply RPM_DEPENDS += python2-virtualenv RPM_DEPENDS_GROUPS = 'C Development Tools and Libraries' else ifeq ($(shell if [ "$(OS_ID)" = "fedora" ]; then test $(OS_VERSION_ID) -gt 25; echo $$?; fi),0) RPM_DEPENDS += compat-openssl10-devel - RPM_DEPENDS += python2-devel python-ply + RPM_DEPENDS += python2-devel python2-ply RPM_DEPENDS += python2-virtualenv RPM_DEPENDS_GROUPS = 'C Development Tools and Libraries' else |