!4 delete nodejs-defined.spec.old redundancy file
From: @lei_ju Reviewed-by: @solarhu Signed-off-by: @solarhu
This commit is contained in:
commit
5da2cf8f42
@ -2,7 +2,7 @@
|
|||||||
%global enable_tests 1
|
%global enable_tests 1
|
||||||
Name: nodejs-defined
|
Name: nodejs-defined
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Return the first argument that is '!== undefined'
|
Summary: Return the first argument that is '!== undefined'
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/substack/defined
|
URL: https://github.com/substack/defined
|
||||||
@ -40,5 +40,8 @@ ln -sf %{nodejs_sitelib} .
|
|||||||
%{nodejs_sitelib}/defined
|
%{nodejs_sitelib}/defined
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 26 2020 leiju <leiju4@huawei.com> - 1.0.0-2
|
||||||
|
- delete nodejs-defined.spec.old redundancy file
|
||||||
|
|
||||||
* Tue Aug 18 2020 Anan Fu <fuanan3@huawei.com> - 1.0.0-1
|
* Tue Aug 18 2020 Anan Fu <fuanan3@huawei.com> - 1.0.0-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
@ -1,92 +0,0 @@
|
|||||||
%{?nodejs_find_provides_and_requires}
|
|
||||||
|
|
||||||
%global enable_tests 1
|
|
||||||
|
|
||||||
Name: nodejs-defined
|
|
||||||
Version: 1.0.0
|
|
||||||
Release: 8%{?dist}
|
|
||||||
Summary: Return the first argument that is '!== undefined'
|
|
||||||
|
|
||||||
License: MIT
|
|
||||||
URL: https://github.com/substack/defined
|
|
||||||
Source0: http://registry.npmjs.org/defined/-/defined-%{version}.tgz
|
|
||||||
BuildArch: noarch
|
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
|
||||||
|
|
||||||
BuildRequires: nodejs-packaging
|
|
||||||
|
|
||||||
%if 0%{?enable_tests}
|
|
||||||
BuildRequires: npm(tap)
|
|
||||||
BuildRequires: npm(tape)
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
|
||||||
%{summary}.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n package
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
#nothing to do
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
mkdir -p %{buildroot}%{nodejs_sitelib}/defined
|
|
||||||
cp -pr package.json index.js \
|
|
||||||
%{buildroot}%{nodejs_sitelib}/defined
|
|
||||||
|
|
||||||
%nodejs_symlink_deps
|
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?enable_tests}
|
|
||||||
%check
|
|
||||||
ln -sf %{nodejs_sitelib} .
|
|
||||||
%tap test/*.js
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%{!?_licensedir:%global license %doc}
|
|
||||||
%doc readme.markdown example/
|
|
||||||
%license LICENSE
|
|
||||||
%{nodejs_sitelib}/defined
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-8
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 1 2016 Tom Hughes <tom@compton.nu> - 1.0.0-2
|
|
||||||
- Enable tests
|
|
||||||
|
|
||||||
* Fri Jan 1 2016 Tom Hughes <tom@compton.nu> - 1.0.0-1
|
|
||||||
- Update to 1.0.0 upstream release
|
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon May 27 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.0.0-1
|
|
||||||
- initial package
|
|
||||||
Loading…
x
Reference in New Issue
Block a user