building rpm fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Caffeine |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
"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
I don't know much about building RPMs, and last tried nearly fifteen years ago. If there's a problem in caffeine's build system, I'll happily accept patches.