Describe the bug
rpm task fails on fedora 40 due to rpmbuild is setting arch as fc40.x86_64
To Reproduce
build on fedora
$ ./gradlew linux64
> Task :linux64.min FAILED
FAILURE: Build failed with an exception.
* Where:
Build file '/home/alberto/projects/java/ipscan/build.gradle' line: 223
* What went wrong:
Execution failed for task ':linux64.min'.
> Warning: Could not find file /home/alberto/projects/java/ipscan/build/libs/rpm/RPMS/x86_64/ipscan-3.9.1.9.gff097334-1.x86_64.rpm to copy.
that file do not exists. Showing here the difference:
Describe the bug rpm task fails on fedora 40 due to rpmbuild is setting arch as fc40.x86_64
To Reproduce
that file do not exists. Showing here the difference:
/home/alberto/projects/java/ipscan/build/libs/rpm/RPMS/x86_64/ipscan-3.9.1.9.gff097334-1.x86_64.rpm /home/alberto/projects/java/ipscan/build/libs/rpm/RPMS/x86_64/ipscan-3.9.1.9.gff097334-1.fc40.x86_64.rpm
I solved with a regex match, not sure if rpmbuild can be setup to avoid that fedora specific "arch"
Expected behavior build on fedora
Versions (please copy from the About dialog or complete manually):