commit
5ddd30b7e7
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: glusterfs
|
Name: glusterfs
|
||||||
Version: 7.0
|
Version: 7.0
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPLv2 and LGPLv3+
|
License: GPLv2 and LGPLv3+
|
||||||
Summary: Aggregating distributed file system
|
Summary: Aggregating distributed file system
|
||||||
URL: http://docs.gluster.org/
|
URL: http://docs.gluster.org/
|
||||||
@ -24,7 +24,7 @@ Provides: %{name}-common = %{version}-%{release}
|
|||||||
Provides: %{name}-core = %{version}-%{release}
|
Provides: %{name}-core = %{version}-%{release}
|
||||||
Requires: python3-gluster = %{version}-%{release}
|
Requires: python3-gluster = %{version}-%{release}
|
||||||
Requires: python3 python3-prettytable python3-requests attr psmisc rsync
|
Requires: python3 python3-prettytable python3-requests attr psmisc rsync
|
||||||
Requires: rpcbind pyxattr lvm2 nfs-utils
|
Requires: rpcbind lvm2 nfs-utils
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
Requires(post): systemd /sbin/ldconfig
|
Requires(post): systemd /sbin/ldconfig
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
@ -163,11 +163,15 @@ install -p -m 0755 -D extras/command-completion/gluster.bash %{buildroot}%{_sys
|
|||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%systemd_postun_with_restart rsyslog
|
%systemd_postun_with_restart rsyslog
|
||||||
|
exit 0
|
||||||
|
|
||||||
%systemd_post glustereventsd
|
%systemd_post glustereventsd
|
||||||
|
exit 0
|
||||||
|
|
||||||
if [ $1 -ge 1 ]; then
|
if [ $1 -ge 1 ]; then
|
||||||
%systemd_postun_with_restart glusterd
|
%systemd_postun_with_restart glusterd
|
||||||
fi
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
%systemd_post glusterd
|
%systemd_post glusterd
|
||||||
%systemd_post glusterfsd
|
%systemd_post glusterfsd
|
||||||
@ -227,12 +231,15 @@ if [ $1 -eq 0 ]; then
|
|||||||
/bin/systemctl --quiet stop glustereventsd.service
|
/bin/systemctl --quiet stop glustereventsd.service
|
||||||
%systemd_preun glustereventsd
|
%systemd_preun glustereventsd
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
if [ $1 -eq 0 ]; then
|
||||||
if [ -f %{_unitdir}/glusterfsd.service ]; then
|
if [ -f %{_unitdir}/glusterfsd.service ]; then
|
||||||
/bin/systemctl --quiet stop glusterfsd.service
|
/bin/systemctl --quiet stop glusterfsd.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/bin/systemctl --quiet stop glusterd.service
|
/bin/systemctl --quiet stop glusterd.service
|
||||||
|
|
||||||
if [ -f %{_unitdir}/glusterfsd.service ]; then
|
if [ -f %{_unitdir}/glusterfsd.service ]; then
|
||||||
%systemd_preun glusterfsd
|
%systemd_preun glusterfsd
|
||||||
fi
|
fi
|
||||||
@ -450,6 +457,12 @@ exit 0
|
|||||||
%{_mandir}/man8/*gluster*.8*
|
%{_mandir}/man8/*gluster*.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 12 2020 Ruijun Ge<geruijun@huawei.com> - 7.0-3
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix install error
|
||||||
|
|
||||||
* Tue Jan 14 2020 renxudong<renxudong1@huawei.com> - 7.0-2
|
* Tue Jan 14 2020 renxudong<renxudong1@huawei.com> - 7.0-2
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user