Update to glusterfs-10

The spec file is changed based with which exacted from glusterfs-10.0.tar.gz.
Following changes are made:

* make variable _with_systemd true as default
* make variable _usepython3 as 1
* make variable _pythonver as 2
* remove fedora_koji_builds judgements
* add new BuildRequires: rpcgen gperftools-devel libunwind-devel
* update source0 to following address
https://download.gluster.org/pub/gluster/glusterfs/10/10.0/glusterfs-10.0.tar.gz

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
This commit is contained in:
Wenchao Hao 2021-12-01 17:29:19 +08:00
parent 771b90bd59
commit 4cc8690f81
4 changed files with 1469 additions and 301 deletions

BIN
glusterfs-10.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,17 +0,0 @@
[Unit]
Description=GlusterFS brick processes (stopping only)
After=network.target glusterd.service
[Service]
Type=oneshot
# glusterd starts the glusterfsd processed on-demand
# /bin/true will mark this service as started, RemainAfterExit keeps it active
ExecStart=/bin/true
RemainAfterExit=yes
# if there are no glusterfsd processes, a stop/reload should not give an error
ExecStop=/bin/sh -c "/bin/killall --wait glusterfsd || /bin/true"
ExecReload=/bin/sh -c "/bin/killall -HUP glusterfsd || /bin/true"
[Install]
WantedBy=multi-user.target