building rpm fails
"python3 setup.py bdist_rpm" fails on Fedora 28. Have I missed something?
The tarball from https:/
The build seems to fail due to a missing VERSION file in the nested "build" directory, even though the file exist in the parent "main" directory. Perhaps it was meant to be created in the building process?
Below is the output with the errors:
Executing(%build): /bin/sh -e /var/tmp/
+ umask 022
+ cd [DIR]/~
+ cd caffeine-2.9.4
+ python3 setup.py build
Traceback (most recent call last):
File "setup.py", line 12, in <module>
VERSION = open(join(ROOT_DIR, "VERSION"
FileNotFoundError: [Errno 2] No such file or directory: '[DIR]/
error: Bad exit status from /var/tmp/
RPM build errors:
Bad exit status from /var/tmp/
error: command 'rpmbuild' failed with exit status 1
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Caffeine Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: