|
|
|
@ -3,8 +3,8 @@
|
|
|
|
|
|
|
|
|
|
Summary: CLI Steps for Cucumber, hand-crafted for you in Aruba
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 0.14.9
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.14.11
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
# aruba itself is MIT
|
|
|
|
|
# icons in templates/images are CC-BY
|
|
|
|
|
# jquery.js itself is MIT or GPLv2
|
|
|
|
@ -93,19 +93,15 @@ sed -i features/support/env.rb \
|
|
|
|
|
sed -i fixtures/cli-app/spec/spec_helper.rb \
|
|
|
|
|
-e "\@\$LOAD_PATH@s|\.\./\.\./lib|$(pwd)/lib|"
|
|
|
|
|
|
|
|
|
|
# zsh?? I don't use it. Just use echo -e
|
|
|
|
|
sed -i features/steps/command/shell.feature \
|
|
|
|
|
-e 's|zsh|bash|' \
|
|
|
|
|
-e '\@echo.*Hello.*c@s|echo|echo -e|'
|
|
|
|
|
|
|
|
|
|
# /usr/bin/python is reporting deprecation warning :/
|
|
|
|
|
# No need to modify @requires-python (in run_commands.feature and hooks.rb)
|
|
|
|
|
if ! grep -q python3 features/steps/command/shell.feature
|
|
|
|
|
then
|
|
|
|
|
sed -i features/steps/command/shell.feature -e 's|python|python3|'
|
|
|
|
|
sed -i features/steps/command/shell.feature -e "s|python'|python3'|"
|
|
|
|
|
sed -i features/03_testing_frameworks/cucumber/steps/command/run_commands_which_require_a_shell.feature \
|
|
|
|
|
-e 's|python|python3|'
|
|
|
|
|
sed -i lib/aruba/generators/script_file.rb \
|
|
|
|
|
-e '\@interpreter@s|A-Z|A-Z0-9|'
|
|
|
|
|
sed -i features/getting_started/run_commands.feature \
|
|
|
|
|
sed -i features/01_getting_started_with_aruba/run_commands.feature \
|
|
|
|
|
-e '\@[^-]python@s|python|python3|'
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
@ -116,10 +112,10 @@ sed -i Rakefile \
|
|
|
|
|
%{nil}
|
|
|
|
|
|
|
|
|
|
# Adjust test cases referring to $HOME.
|
|
|
|
|
sed -i features/api/core/expand_path.feature -e "s|/home/\[\^/\]+|$(echo $HOME)|"
|
|
|
|
|
sed -i features/configuration/home_directory.feature \
|
|
|
|
|
sed -i features/04_aruba_api/core/expand_path.feature -e "s|/home/\[\^/\]+|$(echo $HOME)|"
|
|
|
|
|
sed -i features/02_configure_aruba/home_directory.feature \
|
|
|
|
|
-e "\@Scenario: Default value@,\@Scenario@s|/home/|$(echo $HOME)|"
|
|
|
|
|
sed -i features/configuration/home_directory.feature \
|
|
|
|
|
sed -i features/02_configure_aruba/home_directory.feature \
|
|
|
|
|
-e "\@Set to aruba's working directory@,\@Scenario@s|/home/|$(echo $HOME)/|"
|
|
|
|
|
|
|
|
|
|
# Make the Aruba always awailable.
|
|
|
|
@ -146,6 +142,9 @@ popd
|
|
|
|
|
%{gem_instdir}/templates/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Aug 17 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.14.11-1
|
|
|
|
|
- 0.14.11
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.9-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|