Add Automatic-Module-Name manifest entry

This commit is contained in:
Marian Koncek 2023-02-23 09:46:09 +01:00
parent 2f0d0e5fcc
commit a1b02676ed

View File

@ -4,7 +4,7 @@
Name: hamcrest Name: hamcrest
Version: 2.2 Version: 2.2
Release: 9%{?dist} Release: 10%{?dist}
Summary: Library of matchers for building test expressions Summary: Library of matchers for building test expressions
License: BSD License: BSD
URL: https://github.com/hamcrest/JavaHamcrest URL: https://github.com/hamcrest/JavaHamcrest
@ -56,6 +56,18 @@ cp -p %{SOURCE1} pom.xml
<target>1.8</target> <target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>any</version>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>org.hamcrest</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins> </plugins>
</build>' </build>'
@ -81,6 +93,9 @@ popd
%license LICENSE.txt %license LICENSE.txt
%changelog %changelog
* Thu Feb 23 2023 Marian Koncek <mkoncek@redhat.com> - 2.2-10
- Add Automatic-Module-Name manifest entry
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-9 * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild