Install into /usr/local/ by default
/usr is package manager territory, and not even writable on OSTree based systems such as Fedora CoreOS or RHEL Edge. This has been common and good practice in autotools for decades. You can still override this with `make install PREFIX=...`. Use that in the RPM spec file.
This commit is contained in:
parent
633e3257ae
commit
57d7c73d6e
3 changed files with 7 additions and 6 deletions
|
|
@ -36,7 +36,7 @@ rm -rf dist
|
|||
ESLINT=0 NODE_ENV=production make
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%make_install PREFIX=/usr
|
||||
|
||||
# drop source maps, they are large and just for debugging
|
||||
find %{buildroot}%{_datadir}/cockpit/ -name '*.map' | xargs --no-run-if-empty rm --verbose
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue