Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package jnr-a64asm for openSUSE:Factory checked in at 2023-05-30 22:02:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jnr-a64asm (Old) and /work/SRC/openSUSE:Factory/.jnr-a64asm.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jnr-a64asm" Tue May 30 22:02:43 2023 rev:2 rq:1089741 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/jnr-a64asm/jnr-a64asm.changes 2021-07-10 00:02:58.850825434 +0200 +++ /work/SRC/openSUSE:Factory/.jnr-a64asm.new.1533/jnr-a64asm.changes 2023-05-30 22:02:57.819194616 +0200 @@ -1,0 +2,5 @@ +Tue May 23 20:51:08 UTC 2023 - Fridrich Strba <[email protected]> + +- Add an OSGi manifest to the package + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jnr-a64asm.spec ++++++ --- /var/tmp/diff_new_pack.1r56zZ/_old 2023-05-30 22:02:58.223196997 +0200 +++ /var/tmp/diff_new_pack.1r56zZ/_new 2023-05-30 22:02:58.227197021 +0200 @@ -1,7 +1,7 @@ # -# spec file for package jnr-a64asm +# spec file # -# Copyright (c) 2021 SUSE LLC +# 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 @@ -29,7 +29,7 @@ BuildRequires: gcc BuildRequires: make BuildRequires: maven-local -BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildArch: noarch @@ -46,10 +46,39 @@ %prep %setup -q -n %{name}-%{name}-%{version} + +%pom_remove_plugin :maven-source-plugin +%pom_remove_plugin :maven-javadoc-plugin +%pom_add_plugin "org.apache.felix:maven-bundle-plugin" . " + <configuration> + <instructions> + <_nouses>true</_nouses> + </instructions> + </configuration> + <executions> + <execution> + <id>bundle-manifest</id> + <phase>process-classes</phase> + <goals> + <goal>manifest</goal> + </goals> + </execution> + </executions>" + +%pom_add_plugin "org.apache.maven.plugins:maven-jar-plugin" . " + <configuration> + <archive> + <manifestFile>\${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> + <manifestEntries> + <Automatic-Module-Name>org.jnrproject.a64asm</Automatic-Module-Name> + </manifestEntries> + </archive> + </configuration>" + %{mvn_file} : %{cluster}/%{name} %build -%{mvn_build} -f +%{mvn_build} -f -- -Dsource=8 %install %mvn_install
