delete nodejs-escape-string-regexp.spec.old redundancy file
This commit is contained in:
parent
9a663ec799
commit
7750c16f7b
@ -3,7 +3,7 @@
|
|||||||
%global enable_tests 0
|
%global enable_tests 0
|
||||||
Name: nodejs-escape-string-regexp
|
Name: nodejs-escape-string-regexp
|
||||||
Version: 1.0.5
|
Version: 1.0.5
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Escape RegExp special characters
|
Summary: Escape RegExp special characters
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/sindresorhus/escape-string-regexp
|
URL: https://github.com/sindresorhus/escape-string-regexp
|
||||||
@ -46,5 +46,8 @@ cp -pr package.json index.js \
|
|||||||
%{nodejs_sitelib}/%{packagename}
|
%{nodejs_sitelib}/%{packagename}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu 26 Nov 2020 leiju <leiju4@huawei.com> - 1.0.5-2
|
||||||
|
- delete nodejs-escape-string-regexp.spec.old redundancy file
|
||||||
|
|
||||||
* Thu Aug 20 2020 Anan Fu <fuanan3@huawei.com> - 1.0.5-1
|
* Thu Aug 20 2020 Anan Fu <fuanan3@huawei.com> - 1.0.5-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
@ -1,92 +0,0 @@
|
|||||||
%{?nodejs_find_provides_and_requires}
|
|
||||||
|
|
||||||
%global packagename escape-string-regexp
|
|
||||||
%global enable_tests 0
|
|
||||||
# tests are now disabled due to the fact that npm(ava) is not packaged in Fedora
|
|
||||||
|
|
||||||
Name: nodejs-escape-string-regexp
|
|
||||||
Version: 1.0.5
|
|
||||||
Release: 6%{?dist}
|
|
||||||
Summary: Escape RegExp special characters
|
|
||||||
|
|
||||||
License: MIT
|
|
||||||
URL: https://github.com/sindresorhus/escape-string-regexp
|
|
||||||
Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
|
|
||||||
Source1: https://raw.githubusercontent.com/sindresorhus/escape-string-regexp/v%{version}/test.js
|
|
||||||
|
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
BuildRequires: nodejs-packaging
|
|
||||||
%if 0%{?enable_tests}
|
|
||||||
BuildRequires: npm(ava)
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
|
||||||
Escape RegExp special characters
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n package
|
|
||||||
cp -p %{SOURCE1} .
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
# nothing to do!
|
|
||||||
|
|
||||||
%install
|
|
||||||
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
|
|
||||||
cp -pr package.json index.js \
|
|
||||||
%{buildroot}%{nodejs_sitelib}/%{packagename}
|
|
||||||
|
|
||||||
%nodejs_symlink_deps
|
|
||||||
|
|
||||||
%check
|
|
||||||
%nodejs_symlink_deps --check
|
|
||||||
%{__nodejs} -e 'require("./")'
|
|
||||||
%if 0%{?enable_tests}
|
|
||||||
%{_bindir}/ava
|
|
||||||
%else
|
|
||||||
%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m"
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%{!?_licensedir:%global license %doc}
|
|
||||||
%doc *.md
|
|
||||||
%license license
|
|
||||||
%{nodejs_sitelib}/%{packagename}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Feb 22 2016 Jared Smith <jsmith@fedoraproject.org> - 1.0.5-1
|
|
||||||
- Update to upstream 1.0.5 release
|
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Dec 21 2015 Jared Smith <jsmith@fedoraproject.org> - 1.0.4-1
|
|
||||||
- Update to upstream 1.0.4 release
|
|
||||||
|
|
||||||
* Tue Dec 15 2015 Jared Smith <jsmith@fedoraproject.org> - 1.0.3-2
|
|
||||||
- Add tests
|
|
||||||
|
|
||||||
* Wed Oct 21 2015 Jared Smith <jsmith@fedoraproject.org> - 1.0.3-1
|
|
||||||
- Initial packaging
|
|
||||||
Loading…
x
Reference in New Issue
Block a user