5 Commits

3 changed files with 13 additions and 38 deletions

View File

@@ -1,17 +1,3 @@
-------------------------------------------------------------------
Thu Jul 3 15:21:54 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Modified patch:
* jdk9.patch
+ Add Automatic-Module-Name commons.beanutils to be found
by modular artifacts
-------------------------------------------------------------------
Thu Jun 5 06:22:08 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Adapt the spec file, so that it can be used for building on
SLE12SP1 and Factory alike.
-------------------------------------------------------------------
Thu May 29 15:56:24 UTC 2025 - Fridrich Strba <fstrba@suse.com>

View File

@@ -16,7 +16,6 @@
#
%{?!mvn_install_pom:%global mvn_install_pom install -pm 0644}
%define base_name beanutils
%define short_name commons-%{base_name}
Name: apache-commons-beanutils
@@ -33,11 +32,8 @@ BuildRequires: ant
BuildRequires: commons-collections
BuildRequires: commons-logging
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
BuildRequires: javapackages-local >= 6
BuildRequires: xml-commons-apis
Requires: commons-collections >= 2.0
Requires: commons-logging >= 1.0
Provides: %{short_name} = %{version}-%{release}
Obsoletes: %{short_name} < %{version}-%{release}
Provides: jakarta-%{short_name} = %{version}-%{release}

View File

@@ -1,6 +1,8 @@
--- commons-beanutils-1.11.0-src/build.xml 2025-07-03 17:15:28.898719156 +0200
+++ commons-beanutils-1.11.0-src/build.xml 2025-07-03 17:19:33.455675526 +0200
@@ -61,10 +61,10 @@
Index: commons-beanutils-1.9.3-src/build.xml
===================================================================
--- commons-beanutils-1.9.3-src.orig/build.xml
+++ commons-beanutils-1.9.3-src/build.xml
@@ -62,10 +62,10 @@
<!-- Compiler source JDK version -->
@@ -13,12 +15,3 @@
<!-- Should Java compilations set the 'debug' compiler option? -->
<property name="compile.debug" value="true"/>
@@ -228,7 +228,7 @@
<jar jarfile="${dist.home}/commons-beanutils-${component.version}.jar">
<manifest>
- <attribute name="Built-By" value="${user.name}"/>
+ <attribute name="Automatic-Module-Name" value="commons.beanutils"/>
<attribute name="Specification-Title" value="Commons BeanUtils"/>
<attribute name="Specification-Version" value="${component.version}"/>
<attribute name="Specification-Vendor" value="The Apache Software Foundation"/>