Hi Alexey, thanks for confirming . I opened for this issue : https://bugs.openjdk.java.net/browse/JDK-8238947 8238947: tools/jpackage tests fail with old rpmbuild versions
Is there already a good place in the tools/jpackage test coding, where we could adjust the rpmbuild version check (e.g. to 4.10+ ) ? Best Regards, Matthias > > Hi Matthias, > > I confirm jpackage works with rpmbuild v4.11.3. > > - Alexey > > On 2/11/2020 4:15 AM, Baesken, Matthias wrote: > > Hi Alexey, with rpmbuild 4.4 on SLES11 we get the additional output > "rpmbuild: no spec files given for build" when calling rpmbuild -- > eval=%{_target_cpu} , > > This seems to mess up the test e.g. > jdk/test/jdk/tools/jpackage/linux/AppCategoryTest.java : > > > > > > rpmbuild --eval=%{_target_cpu} > > x86_64 > > rpmbuild: no spec files given for build > > > >> rpmbuild --version > > RPM version 4.4.2.3 > > > > > > While on SLES12 with rpmbuild 4.11 we do not get this additional > output : > > > > rpmbuild --eval=%{_target_cpu} > > x86_64 > > % rpmbuild --version > > RPM version 4.11.2 > > > > > > What is the oldest rpmbuild you can confirm to work ? > > > > Best regards , Matthias > > > >