|
Jared K. Smith |
39ae5a3 |
%{?nodejs_find_provides_and_requires}
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
%global packagename is-unc-path
|
|
Jared K. Smith |
39ae5a3 |
%global enable_tests 1
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
Name: nodejs-is-unc-path
|
|
![](https://seccdn.libravatar.org/avatar/86ada5b54867d911b15cc28f6aa4185beb0a8f83dc781cdf42a4c5a7b7da7f36?s=16&d=retro) |
6736557 |
Version: 1.0.0
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
b5f0502 |
Release: 3%{?dist}
|
|
Jared K. Smith |
39ae5a3 |
Summary: Returns true if a filepath is a windows UNC file path
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
License: MIT
|
|
Jared K. Smith |
39ae5a3 |
URL: https://github.com/jonschlinkert/is-unc-path.git
|
|
Jared K. Smith |
39ae5a3 |
Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
|
|
Jared K. Smith |
39ae5a3 |
# The test files are not included in the npm tarball. The releases aren't
|
|
Jared K. Smith |
39ae5a3 |
# tagged in GitHub either, so we'll pull from "master"
|
|
Jared K. Smith |
39ae5a3 |
Source1: https://raw.githubusercontent.com/jonschlinkert/is-unc-path/master/test.js
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
BuildArch: noarch
|
|
Jared K. Smith |
39ae5a3 |
%if 0%{?fedora} >= 19
|
|
Jared K. Smith |
39ae5a3 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
Jared K. Smith |
39ae5a3 |
%else
|
|
Jared K. Smith |
39ae5a3 |
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
|
Jared K. Smith |
39ae5a3 |
%endif
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
BuildRequires: nodejs-packaging
|
|
Jared K. Smith |
39ae5a3 |
BuildRequires: npm(unc-path-regex)
|
|
Jared K. Smith |
39ae5a3 |
%if 0%{?enable_tests}
|
|
Jared K. Smith |
39ae5a3 |
BuildRequires: mocha
|
|
Jared K. Smith |
39ae5a3 |
%endif
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
%description
|
|
Jared K. Smith |
39ae5a3 |
Returns true if a filepath is a windows UNC file path.
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
%prep
|
|
Jared K. Smith |
39ae5a3 |
%setup -q -n package
|
|
Jared K. Smith |
39ae5a3 |
# setup the tests
|
|
Jared K. Smith |
39ae5a3 |
cp -p %{SOURCE1} .
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
%build
|
|
Jared K. Smith |
39ae5a3 |
# nothing to do!
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
%install
|
|
Jared K. Smith |
39ae5a3 |
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
|
|
Jared K. Smith |
39ae5a3 |
cp -pr package.json index.js \
|
|
Jared K. Smith |
39ae5a3 |
%{buildroot}%{nodejs_sitelib}/%{packagename}
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
%nodejs_symlink_deps
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
%check
|
|
Jared K. Smith |
39ae5a3 |
%nodejs_symlink_deps --check
|
|
Jared K. Smith |
39ae5a3 |
%{__nodejs} -e 'require("./")'
|
|
Jared K. Smith |
39ae5a3 |
%if 0%{?enable_tests}
|
|
Jared K. Smith |
39ae5a3 |
/usr/bin/mocha -R spec
|
|
Jared K. Smith |
39ae5a3 |
%endif
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
%files
|
|
Jared K. Smith |
39ae5a3 |
%{!?_licensedir:%global license %doc}
|
|
Jared K. Smith |
39ae5a3 |
%doc *.md
|
|
Jared K. Smith |
39ae5a3 |
%license LICENSE
|
|
Jared K. Smith |
39ae5a3 |
%{nodejs_sitelib}/%{packagename}
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
b5f0502 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
b5f0502 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
b5f0502 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
a467ecd |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
a467ecd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
a467ecd |
|
|
![](https://seccdn.libravatar.org/avatar/86ada5b54867d911b15cc28f6aa4185beb0a8f83dc781cdf42a4c5a7b7da7f36?s=16&d=retro) |
6736557 |
* Tue May 01 2018 Jared K. Smith <jsmith@fedoraproject.org> - 1.0.0-1
|
|
![](https://seccdn.libravatar.org/avatar/86ada5b54867d911b15cc28f6aa4185beb0a8f83dc781cdf42a4c5a7b7da7f36?s=16&d=retro) |
6736557 |
- Update to upstream 1.0.0 release
|
|
![](https://seccdn.libravatar.org/avatar/86ada5b54867d911b15cc28f6aa4185beb0a8f83dc781cdf42a4c5a7b7da7f36?s=16&d=retro) |
6736557 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
ee04411 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-7
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
ee04411 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
ee04411 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
5d639eb |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-6
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
5d639eb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
5d639eb |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
ec868c2 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-5
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
ec868c2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
ec868c2 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
8814471 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-4
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
8814471 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
8814471 |
|
|
Jared K. Smith |
39ae5a3 |
* Mon Dec 21 2015 Jared Smith <jsmith@fedoraproject.org> - 0.1.1-3
|
|
Jared K. Smith |
39ae5a3 |
- Include proper test.js file
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
* Sat Dec 19 2015 Jared Smith <jsmith@fedoraproject.org> - 0.1.1-2
|
|
Jared K. Smith |
39ae5a3 |
- Add missing build requirement
|
|
Jared K. Smith |
39ae5a3 |
|
|
Jared K. Smith |
39ae5a3 |
* Wed Dec 16 2015 Jared Smith <jsmith@fedoraproject.org> - 0.1.1-1
|
|
Jared K. Smith |
39ae5a3 |
- Initial packaging
|