]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rpm: fix packaging
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 15 Feb 2022 16:25:05 +0000 (17:25 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 15 Feb 2022 16:37:22 +0000 (17:37 +0100)
This fixes a couple of issues:

- ansible 2.10 isn't packaged.
- MOCK_CONFIG variable is wrong (centos 8 is EOL)

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Makefile
ceph-ansible.spec.in

index b96db256b289a9ec700ef995303050bdb1e62e2c..68d0585f4f6bc021507885070748f0bb71ab2d1f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ NAME = ceph-ansible
 #  "ceph-ansible-2.2.0-1.el8"
 
 DIST ?= "el8"
-MOCK_CONFIG ?= "centos+epel-8-x86_64"
+MOCK_CONFIG ?= "centos-stream+epel-8-x86_64"
 TAG := $(shell git describe --tags --abbrev=0 --match 'v*')
 VERSION := $(shell echo $(TAG) | sed 's/^v//')
 COMMIT := $(shell git rev-parse HEAD)
index 7f044afee830d3c7c3f4a8fa3812440bce7b3885..fbfa400550696f6a52f5ed216d82fd3751b3575c 100644 (file)
@@ -15,8 +15,8 @@ Obsoletes:      ceph-iscsi-ansible <= 1.5
 
 BuildArch:      noarch
 
-BuildRequires: ansible >= 2.10
-Requires: ansible >= 2.10
+BuildRequires: ansible >= 2.9
+Requires: ansible >= 2.9
 
 %if 0%{?rhel} == 7
 BuildRequires: python2-devel