2021-08-18 18:03:08 +02:00
|
|
|
#
|
|
|
|
# spec file for package obs-service-node_modules
|
|
|
|
#
|
2024-01-29 16:52:34 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2021-08-18 18:03:08 +02:00
|
|
|
#
|
|
|
|
# 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
|
2024-01-29 16:52:34 +01:00
|
|
|
Version: 2.4.0
|
2021-08-18 18:03:08 +02:00
|
|
|
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
|
2023-06-12 15:35:55 +02:00
|
|
|
%dir %{_prefix}/lib/obs
|
|
|
|
%dir %{_prefix}/lib/obs/service
|
2021-08-18 18:03:08 +02:00
|
|
|
%{_prefix}/lib/obs/service/node_modules
|
|
|
|
%{_prefix}/lib/obs/service/node_modules.service
|
|
|
|
|
|
|
|
%changelog
|