F-28: rebuild for ruby25

Workaround for gem install option
This commit is contained in:
Mamoru TASAKA 2018-01-05 22:45:27 +09:00
parent 4ad2fc6620
commit 9b7a65231c

View File

@ -1,6 +1,6 @@
Name: pcs Name: pcs
Version: 0.9.160 Version: 0.9.160
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2 License: GPLv2
URL: https://github.com/ClusterLabs/pcs URL: https://github.com/ClusterLabs/pcs
Group: System Environment/Base Group: System Environment/Base
@ -149,6 +149,11 @@ cp -f %SOURCE15 pcsd/vendor/cache
cp -f %SOURCE16 pcsd/vendor/cache cp -f %SOURCE16 pcsd/vendor/cache
#ruby gems copied #ruby gems copied
# So it seems that with rubygems 2.7.3 --install-dir option always
# needs --no-user-install???
sed -i pcsd/Makefile \
-e '\@gem install@s| -l -i | --no-user-install -i |'
%build %build
%define debug_package %{nil} %define debug_package %{nil}
@ -294,6 +299,10 @@ end
%exclude %{python3_sitelib}/pcs/pcs %exclude %{python3_sitelib}/pcs/pcs
%changelog %changelog
* Fri Jan 05 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.9.160-2
- F-28: rebuild for ruby25
- Workaround for gem install option
* Wed Oct 18 2017 Ondrej Mular <omular@redhat.com> - 0.9.160-1 * Wed Oct 18 2017 Ondrej Mular <omular@redhat.com> - 0.9.160-1
- Rebased to latest upstream sources (see CHANGELOG.md) - Rebased to latest upstream sources (see CHANGELOG.md)
- All pcs tests are temporarily disabled because of issues in pacemaker. - All pcs tests are temporarily disabled because of issues in pacemaker.