Update smoke test

This commit is contained in:
Mikolaj Izdebski 2023-03-10 11:08:41 +01:00
parent d749af986a
commit a5e1400d78
2 changed files with 6 additions and 1 deletions

View File

@ -12,7 +12,7 @@ rlJournalStart
rlPhaseEnd
rlPhaseStartTest
rlRun -s "rpmbuild -D '%_topdir %{lua:print(posix.getcwd())}' -D '%_sourcedir %{_topdir}' -D '%_builddir %{_topdir}/build' -D '%_srcrpmdir %{_topdir}' -D '%_rpmdir %{_topdir}' -D '__xmvngen_debug 1' -ba testpkg.spec"
rlRun -s "rpmbuild -D '%_topdir %{lua:print(posix.getcwd())}' -D '%_sourcedir %{_topdir}' -D '%_builddir %{_topdir}/build' -D '%_srcrpmdir %{_topdir}' -D '%_rpmdir %{_topdir}' -ba testpkg.spec"
rlAssertGrep "^INSTALL DONE$" $rlRun_LOG
rpm=noarch/testpkg-1.2.3-1.fc22.noarch.rpm
rlAssertExists $rpm

View File

@ -1,3 +1,8 @@
%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
Name: testpkg
Epoch: 42
Version: 1.2.3