Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package apache-commons-beanutils for 
openSUSE:Factory checked in at 2023-10-31 20:25:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-beanutils (Old)
 and      /work/SRC/openSUSE:Factory/.apache-commons-beanutils.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache-commons-beanutils"

Tue Oct 31 20:25:59 2023 rev:15 rq:1121382 version:1.9.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/apache-commons-beanutils/apache-commons-beanutils.changes
        2019-10-14 12:44:17.130263519 +0200
+++ 
/work/SRC/openSUSE:Factory/.apache-commons-beanutils.new.17445/apache-commons-beanutils.changes
     2023-10-31 20:26:17.655250192 +0100
@@ -1,0 +2,5 @@
+Tue Oct 31 08:36:54 UTC 2023 - Fridrich Strba <[email protected]>
+
+- Clean and simplify the spec file
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apache-commons-beanutils.spec ++++++
--- /var/tmp/diff_new_pack.zxQ1a7/_old  2023-10-31 20:26:18.695288392 +0100
+++ /var/tmp/diff_new_pack.zxQ1a7/_new  2023-10-31 20:26:18.695288392 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package apache-commons-beanutils
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,11 +32,8 @@
 BuildRequires:  commons-collections
 BuildRequires:  commons-logging
 BuildRequires:  fdupes
-BuildRequires:  javapackages-local
-BuildRequires:  javapackages-tools
+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}
@@ -69,47 +66,31 @@
 # bug in ant build
 touch README.txt
 
-%{pom_remove_parent}
-
 %build
 export CLASSPATH=%(build-classpath commons-collections commons-logging)
-%ant -Dbuild.sysclasspath=first dist
+%{ant} -Dbuild.sysclasspath=first dist
 
 %install
 # jars
 install -d -m 755 %{buildroot}%{_javadir}
-install -m 644 dist/%{short_name}-%{version}.jar 
%{buildroot}%{_javadir}/%{name}-%{version}.jar
-
-pushd %{buildroot}%{_javadir}
-ln -s %{name}-%{version}.jar %{name}.jar
-for jar in *.jar; do
-    ln -sf ${jar} `echo $jar| sed "s|apache-||g"`
-done
-popd # come back from javadir
+install -m 644 dist/%{short_name}-%{version}.jar 
%{buildroot}%{_javadir}/%{short_name}.jar
+ln -sf %{short_name}.jar %{buildroot}%{_javadir}/%{name}.jar
 
 # poms
 install -d -m 755 %{buildroot}%{_mavenpomdir}
-install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
-%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar -a 
"%{short_name}:%{short_name}-core,%{short_name}:%{short_name}-bean-collections"
+%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{short_name}.pom
+%add_maven_depmap %{short_name}.pom %{short_name}.jar -a 
"%{short_name}:%{short_name}-core,%{short_name}:%{short_name}-bean-collections"
 
 # javadoc
 install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
 cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name}
 %fdupes -s %{buildroot}%{_javadocdir}/%{name}
 
-%files
-%defattr(0644,root,root,0755)
-%license LICENSE.txt
-%doc NOTICE.txt RELEASE-NOTES.txt
-%{_javadir}/*
-%{_mavenpomdir}/*
-%if %{defined _maven_repository}
-%{_mavendepmapfragdir}/%{name}
-%else
-%{_datadir}/maven-metadata/%{name}.xml*
-%endif
+%files -f .mfiles
+%{_javadir}/%{name}.jar
+%license LICENSE.txt NOTICE.txt
+%doc RELEASE-NOTES.txt
 
 %files javadoc
-%defattr(0644,root,root,0755)
 %{_javadocdir}/%{name}
 

Reply via email to