2
0

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:
Ludwig Nussel 2021-08-16 09:01:26 +00:00 committed by Git OBS Bridge
parent 59e5606f66
commit b18118fc00
2 changed files with 5 additions and 2 deletions

View File

@ -13,6 +13,7 @@
</service> </service>
<service mode="buildtime" name="tar"> <service mode="buildtime" name="tar">
<param name="obsinfo">cockpit-machines.obsinfo</param> <param name="obsinfo">cockpit-machines.obsinfo</param>
<param name="filename">cockpit-machines</param>
</service> </service>
<service mode="buildtime" name="set_version"> <service mode="buildtime" name="set_version">
<param name="basename">cockpit-machines</param> <param name="basename">cockpit-machines</param>

View File

@ -22,7 +22,9 @@ Release: 0
Summary: Cockpit user interface for virtual machines Summary: Cockpit user interface for virtual machines
License: LGPL-2.1-or-later AND MIT License: LGPL-2.1-or-later AND MIT
URL: https://github.com/cockpit-project/cockpit-machines 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 Source10: package-lock.json
Source11: node_modules.spec.inc Source11: node_modules.spec.inc
%include %_sourcedir/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 %prep
%autosetup -p1 %autosetup -p1 -n %{name}
rm -f package-lock.json 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) local-npm-registry %{_sourcedir} install --with=dev --legacy-peer-deps || ( find ~/.npm/_logs -name '*-debug.log' -print0 | xargs -0 cat; false)