nodejs-spdx-exceptions/nodejs-spdx-exceptions.spec

45 lines
1.2 KiB
RPMSpec
Raw Permalink Normal View History

2020-08-27 14:57:29 +08:00
%{?nodejs_find_provides_and_requires}
%global packagename spdx-exceptions
Name: nodejs-spdx-exceptions
2023-10-31 15:39:38 +08:00
Version: 2.3.0
Release: 1
2020-08-27 14:57:29 +08:00
Summary: A list of SPDX standard license exceptions
2022-06-16 06:46:05 +00:00
License: CC-BY-3.0
2020-08-27 14:57:29 +08:00
URL: https://github.com/jslicense/spdx-exceptions.json
2020-09-07 16:38:36 +08:00
Source0: https://github.com/jslicense/spdx-exceptions.json/archive/v%{version}.tar.gz
2020-08-27 14:57:29 +08:00
ExclusiveArch: %{nodejs_arches} noarch
BuildArch: noarch
BuildRequires: nodejs-packaging
%description
List of SPDX standard license exceptions
%prep
2020-09-07 16:38:36 +08:00
%autosetup -n spdx-exceptions.json-%{version}
2020-08-27 14:57:29 +08:00
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
cp -pr *.json \
%{buildroot}%{nodejs_sitelib}/%{packagename}
%nodejs_symlink_deps
%check
%nodejs_symlink_deps --check
%{__nodejs} -e 'require("./")'
%files
%{!?_licensedir:%global license %doc}
%doc *.md
%{nodejs_sitelib}/%{packagename}
%changelog
2023-10-31 15:39:38 +08:00
* Mon Oct 30 2023 wulei <wu_lei@hoperun.com> - 2.3.0-1
- Update to 2.3.0
2022-06-16 06:46:05 +00:00
* Thu Jun 16 2022 Chenyx <chenyixiong3@huawei.com> - 1.0.5-2
- License compliance rectification
2020-08-27 14:57:29 +08:00
* Wed Aug 12 2020 zhanghua <zhanghua40@huawei.com> - 1.0.5-1
- package init