|
Jared K. Smith |
57994fa |
%{?nodejs_find_provides_and_requires}
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
%global packagename package-license
|
|
Jared K. Smith |
57994fa |
%global enable_tests 1
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
Name: nodejs-package-license
|
|
Jared K. Smith |
57994fa |
Version: 0.4.1
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
3a249d7 |
Release: 8%{?dist}
|
|
Jared K. Smith |
57994fa |
Summary: Checks the filesystem for potential license files
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
License: ASL 2.0
|
|
Jared K. Smith |
57994fa |
URL: https://github.com/AceMetrix/package-license
|
|
Jared K. Smith |
57994fa |
Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
BuildArch: noarch
|
|
Jared K. Smith |
57994fa |
%if 0%{?fedora} >= 19
|
|
Jared K. Smith |
57994fa |
ExclusiveArch: %{nodejs_arches} noarch
|
|
Jared K. Smith |
57994fa |
%else
|
|
Jared K. Smith |
57994fa |
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
|
Jared K. Smith |
57994fa |
%endif
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
BuildRequires: nodejs-packaging
|
|
Jared K. Smith |
57994fa |
BuildRequires: npm(underscore)
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
%if 0%{?enable_tests}
|
|
Jared K. Smith |
57994fa |
# nothing
|
|
Jared K. Smith |
57994fa |
%endif
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
%description
|
|
Jared K. Smith |
57994fa |
Checks the filesystem for potential license files and attempts to detect what
|
|
Jared K. Smith |
57994fa |
they are
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
%prep
|
|
Jared K. Smith |
57994fa |
%autosetup -n package
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
%nodejs_fixdep underscore
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
%build
|
|
Jared K. Smith |
57994fa |
# nothing to do
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
%install
|
|
Jared K. Smith |
57994fa |
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
|
|
Jared K. Smith |
57994fa |
cp -pr package.json *.js \
|
|
Jared K. Smith |
57994fa |
%{buildroot}%{nodejs_sitelib}/%{packagename}
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
%nodejs_symlink_deps
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
%check
|
|
Jared K. Smith |
57994fa |
%nodejs_symlink_deps --check
|
|
Jared K. Smith |
57994fa |
%{__nodejs} -e 'require("./")'
|
|
Jared K. Smith |
57994fa |
%if 0%{?enable_tests}
|
|
Jared K. Smith |
57994fa |
%{_bindir}/echo -e "\e[102m -=#=- This package has no tests -=#=- \e[0m"
|
|
Jared K. Smith |
57994fa |
%else
|
|
Jared K. Smith |
57994fa |
%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m"
|
|
Jared K. Smith |
57994fa |
%endif
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
%files
|
|
Jared K. Smith |
57994fa |
%{!?_licensedir:%global license %doc}
|
|
Jared K. Smith |
57994fa |
%doc *.md
|
|
Jared K. Smith |
57994fa |
%license LICENSE
|
|
Jared K. Smith |
57994fa |
%{nodejs_sitelib}/%{packagename}
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
3a249d7 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-8
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
3a249d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
3a249d7 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
484c65d |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-7
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
484c65d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
484c65d |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
93db4ff |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-6
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
93db4ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
93db4ff |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
99ad49f |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-5
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
99ad49f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
99ad49f |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
06c69b3 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-4
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
06c69b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
06c69b3 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
4d2eeef |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
4d2eeef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
4d2eeef |
|
|
Jared K. Smith |
57994fa |
* Thu Jul 28 2016 Jared Smith <jsmith@fedoraproject.org> - 0.4.1-2
|
|
Jared K. Smith |
57994fa |
- Relax dependency on npm(underscore)
|
|
Jared K. Smith |
57994fa |
|
|
Jared K. Smith |
57994fa |
* Thu Jul 28 2016 Jared Smith <jsmith@fedoraproject.org> - 0.4.1-1
|
|
Jared K. Smith |
57994fa |
- Initial packaging
|