mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
dev-ruby/facter: fix 3.14.8 patch
Closes: https://bugs.gentoo.org/710066 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
This commit is contained in:
@@ -45,7 +45,7 @@ S="${WORKDIR}/${P}"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.14.6-fix-static-libcpp-hocon.patch
|
||||
# be explicit about the version of rspec we test with
|
||||
"${FILESDIR}"/${PN}-3.14.6-explicit-rspec-2.patch
|
||||
"${FILESDIR}"/${PN}-3.14.8-explicit-rspec-2.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -205,7 +205,7 @@
|
||||
if (BUNDLER_PATH)
|
||||
message(STATUS "Bundler found, installing dependencies for Ruby tests...")
|
||||
execute_process(COMMAND ${BUNDLER_PATH} install --retry 2 --path=vendor/bundle WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/lib")
|
||||
- add_test(NAME "libfacter\\ specs" COMMAND ${BUNDLER_PATH} exec rspec WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/lib")
|
||||
+ add_test(NAME "libfacter\\ specs" COMMAND ${BUNDLER_PATH} exec rspec-2 WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/lib")
|
||||
endif()
|
||||
endif()
|
||||
Reference in New Issue
Block a user