Skip to content

Commit c05a29e

Browse files
committed
Update version number to 11.8.0-beta5
1 parent fb4af0e commit c05a29e

1 file changed

Lines changed: 16 additions & 10 deletions

File tree

pki.spec

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ Name: pki
1616
# Downstream release number:
1717
# - development/stabilization (unsupported): 0.<n> where n >= 1
1818
# - GA/update (supported): <n> where n >= 1
19-
%global release_number 0.4
19+
%global release_number 0.5
2020

2121
# Development phase:
2222
# - development (unsupported): alpha<n> where n >= 1
2323
# - stabilization (unsupported): beta<n> where n >= 1
2424
# - GA/update (supported): <none>
25-
%global phase beta4
25+
%global phase beta5
2626

2727
%undefine timestamp
2828
%undefine commit_id
@@ -200,14 +200,14 @@ BuildRequires: javapackages-tools
200200
BuildRequires: xmlstarlet
201201
%endif
202202

203-
BuildRequires: tomcat-lib
203+
BuildRequires: tomcat-lib >= 1:10.1.36
204204
BuildRequires: tomcat-jakartaee-migration
205205

206-
BuildRequires: pki-resteasy-core >= 3.0.26-33
207-
BuildRequires: pki-resteasy-client >= 3.0.26-33
208-
BuildRequires: pki-resteasy-servlet-initializer >= 3.0.26-33
209-
BuildRequires: pki-resteasy-jackson2-provider >= 3.0.26-33
210-
BuildRequires: pki-resteasy >= 3.0.26-33
206+
BuildRequires: pki-resteasy-core >= 3.0.26
207+
BuildRequires: pki-resteasy-client >= 3.0.26
208+
BuildRequires: pki-resteasy-servlet-initializer >= 3.0.26
209+
BuildRequires: pki-resteasy-jackson2-provider >= 3.0.26
210+
BuildRequires: pki-resteasy >= 3.0.26
211211

212212

213213
BuildRequires: mvn(commons-cli:commons-cli)
@@ -241,7 +241,6 @@ BuildRequires: mvn(org.jboss.resteasy:resteasy-jaxrs)
241241
BuildRequires: mvn(org.jboss.resteasy:resteasy-client)
242242
BuildRequires: mvn(org.jboss.resteasy:resteasy-jackson2-provider)
243243
BuildRequires: mvn(org.jboss.resteasy:resteasy-servlet-initializer)
244-
245244
%endif
246245

247246
BuildRequires: mvn(org.apache.tomcat:tomcat-catalina) >= 10.1.36
@@ -1136,6 +1135,12 @@ then
11361135
/usr/bin/javax2jakarta -logLevel=ALL -profile=EE jakarta.annotation-api-$JAKARTA_ANNOTATION_API_VERSION.jar jakarta.annotation-api-$JAKARTA_ANNOTATION_API_VERSION.jar
11371136
/usr/bin/javax2jakarta -logLevel=ALL -profile=EE jakarta.xml.bind-api-$JAXB_API_VERSION.jar jakarta.xml.bind-api-$JAXB_API_VERSION.jar
11381137

1138+
# Now migrate the required resteasy jars, in case we are using an existing resteasy version.
1139+
1140+
/usr/bin/javax2jakarta -logLevel=ALL -profile=EE resteasy-client-$RESTEASY_VERSION.jar resteasy-client-$RESTEASY_VERSION.jar
1141+
/usr/bin/javax2jakarta -logLevel=ALL -profile=EE resteasy-jackson2-provider-$RESTEASY_VERSION.jar resteasy-jackson2-provider-$RESTEASY_VERSION.jar
1142+
/usr/bin/javax2jakarta -logLevel=ALL -profile=EE resteasy-jaxrs-$RESTEASY_VERSION.jar resteasy-jaxrs-$RESTEASY_VERSION.jar
1143+
11391144
# Add local artifact so we can compile against the migrated jboss-jaxrs-api_2.0_spec-$JAXRS_VERSION.jar
11401145
# We could have used the maven install plugin but it's not available with standard rpms.
11411146

@@ -1160,6 +1165,8 @@ then
11601165
cp /usr/share/java/resteasy/resteasy-servlet-initializer.jar \
11611166
resteasy-servlet-initializer-$RESTEASY_VERSION.jar
11621167

1168+
# Migrate the resteasy servlet initializer, in case we are using an existing resteasy version.
1169+
/usr/bin/javax2jakarta -logLevel=ALL -profile=EE resteasy-servlet-initializer-$RESTEASY_VERSION.jar resteasy-servlet-initializer-$RESTEASY_VERSION.jar
11631170
ls -l
11641171
popd
11651172
fi
@@ -1275,7 +1282,6 @@ export JAVA_HOME=%{java_home}
12751282

12761283
%if %{with maven}
12771284
# build Java binaries and run unit tests with Maven
1278-
12791285
%mvn_build %{!?with_test:-f} -j
12801286

12811287
# create links to Maven-built JAR files for CMake

0 commit comments

Comments
 (0)