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
Version: 2.2
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Library of matchers for building test expressions
License: BSD
URL: https://github.com/hamcrest/JavaHamcrest
@ -56,6 +56,18 @@ cp -p %{SOURCE1} pom.xml
<target>1.8</target>
</configuration>
</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>
</build>'
@ -81,6 +93,9 @@ popd
%license LICENSE.txt
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild