1
0
obs-service-node_modules/obs-service-node_modules.spec
Dirk Mueller 72b7f6aadc Accepting request 1092578 from OBS:Server:Unstable
- Update to version 2.0.0:
  * Fail when integrity field is missing in v3 lockfiles
  * Reproducible cpio generation
  * Add support for version 3 package-lock files
  * Update OBS service instructions to use manualrun
  * Add simple integration test for the node modules service

OBS-URL: https://build.opensuse.org/request/show/1092578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-node_modules?expand=0&rev=4
2023-06-12 13:35:55 +00:00

48 lines
1.4 KiB
RPMSpec

#
# spec file for package obs-service-node_modules
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: obs-service-node_modules
Version: 2.0.0
Release: 0
Summary: OBS service to download node_modules specified in package-lock.json
License: MIT
URL: https://github.com/openSUSE/obs-service-node_modules
Requires: python3-lxml
BuildArch: noarch
%description
%prep
ln -s %_sourcedir/%name .
%setup -DTn %name
%autopatch
%build
%install
install -D -m 755 node_modules.py %{buildroot}%{_prefix}/lib/obs/service/node_modules
install -m 644 node_modules.service %{buildroot}%{_prefix}/lib/obs/service/node_modules.service
%files
%dir %{_prefix}/lib/obs
%dir %{_prefix}/lib/obs/service
%{_prefix}/lib/obs/service/node_modules
%{_prefix}/lib/obs/service/node_modules.service
%changelog