Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cglib for openSUSE:Factory checked 
in at 2022-04-27 21:42:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cglib (Old)
 and      /work/SRC/openSUSE:Factory/.cglib.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cglib"

Wed Apr 27 21:42:11 2022 rev:24 rq:973204 version:3.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/cglib/cglib.changes      2021-12-29 
21:11:42.598322689 +0100
+++ /work/SRC/openSUSE:Factory/.cglib.new.1538/cglib.changes    2022-04-27 
21:42:21.965088078 +0200
@@ -1,0 +2,6 @@
+Wed Apr 27 07:43:03 UTC 2022 - Fridrich Strba <[email protected]>
+
+- Remove links between artifacts and their parent since we are
+  not building with maven
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ cglib.spec ++++++
--- /var/tmp/diff_new_pack.gqdyzk/_old  2022-04-27 21:42:22.409088620 +0200
+++ /var/tmp/diff_new_pack.gqdyzk/_new  2022-04-27 21:42:22.413088625 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cglib
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,13 +32,13 @@
 BuildRequires:  java-devel >= 1.8
 BuildRequires:  javapackages-local
 BuildRequires:  objectweb-asm >= 5
+Requires:       mvn(org.ow2.asm:asm)
 Provides:       %{name}-nohook = %{version}-%{release}
 Obsoletes:      %{name}-nohook < %{version}-%{release}
-Requires:       mvn(org.ow2.asm:asm)
 BuildArch:      noarch
 %if %{with tests}
-BuildConflicts: java-devel >= 9
 BuildRequires:  ant-junit
+BuildConflicts: java-devel >= 9
 %endif
 
 %description
@@ -79,12 +79,18 @@
 %pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample
 %pom_remove_plugin -r :maven-javadoc-plugin
 
-%pom_remove_parent
+%pom_remove_dep -r junit:junit
+%pom_change_dep ::::: ::::: cglib cglib-sample
+
+for i in %{name} %{name}-sample; do
+    %pom_remove_parent ${i}
+    %pom_xpath_inject pom:project 
"<groupId>cglib</groupId><version>%{version}</version>" ${i}
+done
 
 %build
 mkdir -p lib
 build-jar-repository -s -p lib objectweb-asm/asm ant/ant ant/ant-launcher
-%ant \
+%{ant} \
 %if %{without tests}
     -Dtest.skip=true \
 %endif
@@ -100,8 +106,6 @@
 
 # poms
 install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
-install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}-parent.pom
-%add_maven_depmap %{name}/%{name}-parent.pom
 install -pm 0644 %{name}/pom.xml 
%{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
 %add_maven_depmap %{name}/%{name}.pom %{name}/%{name}.jar -a 
"net.sf.cglib:cglib,cglib:cglib-full,cglib:cglib-nodep,org.sonatype.sisu.inject:cglib"
 install -pm 0644 %{name}-sample/pom.xml 
%{buildroot}%{_mavenpomdir}/%{name}/%{name}-sample.pom

Reply via email to