forked from pool/cockpit-machines
Accepting request 912372 from home:lnussel:branches:systemsmanagement:cockpit
trick source_validator OBS-URL: https://build.opensuse.org/request/show/912372 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit-machines?expand=0&rev=5
This commit is contained in:
parent
59e5606f66
commit
b18118fc00
1
_service
1
_service
@ -13,6 +13,7 @@
|
||||
</service>
|
||||
<service mode="buildtime" name="tar">
|
||||
<param name="obsinfo">cockpit-machines.obsinfo</param>
|
||||
<param name="filename">cockpit-machines</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="set_version">
|
||||
<param name="basename">cockpit-machines</param>
|
||||
|
@ -22,7 +22,9 @@ Release: 0
|
||||
Summary: Cockpit user interface for virtual machines
|
||||
License: LGPL-2.1-or-later AND MIT
|
||||
URL: https://github.com/cockpit-project/cockpit-machines
|
||||
Source: cockpit-machines-%{version}.tar
|
||||
# source_validator insists that if obscpio has no version then
|
||||
# tarball must neither
|
||||
Source: cockpit-machines.tar
|
||||
Source10: package-lock.json
|
||||
Source11: node_modules.spec.inc
|
||||
%include %_sourcedir/node_modules.spec.inc
|
||||
@ -54,7 +56,7 @@ If "virt-install" is installed, you can also create new virtual machines.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%autosetup -p1 -n %{name}
|
||||
rm -f package-lock.json
|
||||
local-npm-registry %{_sourcedir} install --with=dev --legacy-peer-deps || ( find ~/.npm/_logs -name '*-debug.log' -print0 | xargs -0 cat; false)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user