From 2bbd8d8bdbaad42d27dcd57a7f479f54579f3924 Mon Sep 17 00:00:00 2001 From: wang--ge Date: Fri, 18 Aug 2023 17:05:35 +0800 Subject: [PATCH] fix build failure due to buildnumber-maven-plugin updated --- jruby.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/jruby.spec b/jruby.spec index 32e6d0f..66e45ac 100644 --- a/jruby.spec +++ b/jruby.spec @@ -3,7 +3,7 @@ %global rubygems_dir %{_datadir}/rubygems Name: jruby Version: 1.7.22 -Release: 2 +Release: 3 Summary: Pure Java implementation of the Ruby interpreter License: (CPL or GPLv2+ or LGPLv2+) and BSD and (GPLv2 or Ruby) and (BSD or Ruby) URL: http://jruby.org @@ -28,13 +28,16 @@ BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) -BuildRequires: mvn(org.codehaus.mojo:buildnumber-maven-plugin) BuildRequires: mvn(org.codehaus.mojo:exec-maven-plugin) BuildRequires: mvn(org.codehaus.mojo:properties-maven-plugin) mvn(org.jruby.extras:bytelist) BuildRequires: mvn(org.jruby.jcodings:jcodings) mvn(org.jruby.joni:joni) mvn(org.jruby:yecht) BuildRequires: mvn(org.osgi:org.osgi.core) mvn(org.ow2.asm:asm) mvn(org.ow2.asm:asm-analysis) BuildRequires: mvn(org.ow2.asm:asm-commons) mvn(org.ow2.asm:asm-util) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) mvn(org.yaml:snakeyaml) git +BuildRequires: mvn(org.eclipse.aether:aether-connector-basic) +BuildRequires: mvn(org.eclipse.aether:aether-transport-wagon) +BuildRequires: mvn(org.apache.maven.wagon:wagon-http) +BuildRequires: mvn(org.apache.maven.wagon:wagon-provider-api) Provides: ruby(release) = 1.9.3 Provides: ruby(release) = 1.8.7 Provides: ruby(runtime_executable) @@ -81,7 +84,7 @@ find lib/ruby/ -name "*.rb" -exec sed --in-place "s|^#!/usr/bin/env ruby||" '{}' %mvn_alias org.jruby:jruby-core org.jruby:jruby %build -%mvn_build +%mvn_build -b %install %mvn_install @@ -135,6 +138,9 @@ EOF %doc COPYING LICENSE.RUBY LEGAL %changelog +* Fri Aug 18 2023 Ge Wang - 1.7.22-3 +- Fix build failure due to buildnumber-maven-plugin updated + * Thu Mar 09 2023 yaoxin - 1.7.22-2 - Fix build failure due to snakeyaml update to 1.32