xmvn-generator/tests/smoke/testpkg.spec

30 lines
693 B
RPMSpec
Raw Permalink Normal View History

2023-03-10 10:08:41 +00:00
%global __xmvngen_debug 1
%global __xmvngen_provides_generators org.fedoraproject.xmvn.generator.jpms.JPMSGeneratorFactory
%global __xmvngen_requires_generators %{nil}
%global __xmvngen_post_install_hooks org.fedoraproject.xmvn.generator.transformer.TransformerHookFactory
2023-03-06 23:53:33 +00:00
Name: testpkg
Epoch: 42
Version: 1.2.3
Release: 1.fc22
Summary: test package
License: DUMMY
URL: file:/dev/null
BuildArch: noarch
%description
test package
%install
touch file.txt
echo Automatic-Module-Name: foo.module >mf
echo Rpm-Version: 4.5.6 >>mf
jar cfm out.jar mf file.txt
install -D out.jar %{buildroot}%{_javadir}/sub/some.jar
echo INSTALL DONE
%files
%{_javadir}
%changelog