Bug #2770
Devbox: missing rpmspec command
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-devbox | |||
Target version: | v6.6-rc1 | |||
Security class: | Resolution: | WONTFIX | ||
Affected version: | v6.5-final | NEEDINFO: | No |
Description
The build system uses rpmspec
command for building rpm directly from .spec
files (not .spec.in
).rpmspec
is not available on CentOS 6, but only on Fedora. So, on a regular NethServer, there is no way to build rpm directly from spec using the build system.
The build system should search for rpmspec
command, if not found it should use some bash scripts or a documented workaround.
Related issues
Associated revisions
History
#1 Updated by Giacomo Sanchietti about 7 years ago
- Target version set to ~FUTURE
#2 Updated by Davide Principi almost 7 years ago
- Status changed from NEW to TRIAGED
- Target version changed from ~FUTURE to v6.5
- % Done changed from 0 to 20
#3 Updated by Davide Principi almost 7 years ago
- Related to Bug #2879: build-rpm error on Fedora 20 added
#4 Updated by Davide Principi over 6 years ago
Workaround
- install nethserver-mock package from nethserver-testing repository
- from the git repository directory run
make-rpms
:make-rpms yourproject.spec
RPMs and mock log files are written to the current working directory. - sign the RPMs:
sign-rpms -k <KEYID> *.rpm
#5 Updated by Davide Principi over 6 years ago
- Related to Feature #3009: nethserver-devbox replacements added
#6 Updated by Davide Principi over 6 years ago
- Target version changed from v6.5 to v6.6-beta1
#7 Updated by Davide Principi over 6 years ago
- Target version changed from v6.6-beta1 to v6.6-rc1
#8 Updated by Davide Principi over 6 years ago
- Status changed from TRIAGED to CLOSED
- % Done changed from 20 to 100
- Resolution set to WONTFIX
The nethserver-mock
and nethserver-buildiso
packages are compatible with the new mock
versions and obsolete nethserver-devbox
.