remove spec.old file
This commit is contained in:
parent
1dc058572b
commit
7c18a6880b
@ -3,14 +3,13 @@
|
|||||||
%global enable_tests 0
|
%global enable_tests 0
|
||||||
Name: nodejs-d
|
Name: nodejs-d
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Property descriptor factory
|
Summary: Property descriptor factory
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/medikoo/d
|
URL: https://github.com/medikoo/d
|
||||||
Source0: https://registry.npmjs.org/d/-/d-%{version}.tgz
|
Source0: https://registry.npmjs.org/d/-/d-%{version}.tgz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
|
||||||
BuildRequires: nodejs-packaging npm(es5-ext)
|
BuildRequires: nodejs-packaging npm(es5-ext)
|
||||||
%if 0%{?enable_tests}
|
%if 0%{?enable_tests}
|
||||||
BuildRequires: npm(tad)
|
BuildRequires: npm(tad)
|
||||||
@ -45,5 +44,8 @@ cp -pr package.json *.js \
|
|||||||
%{nodejs_sitelib}/%{packagename}
|
%{nodejs_sitelib}/%{packagename}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 26 2020 caodongxia <caodongxia@huawei.com> - 1.0.0-2
|
||||||
|
- Delete file nodejs-d.spec.old
|
||||||
|
|
||||||
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 1.0.0-1
|
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 1.0.0-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
@ -1,94 +0,0 @@
|
|||||||
%{?nodejs_find_provides_and_requires}
|
|
||||||
|
|
||||||
%global packagename d
|
|
||||||
%global enable_tests 0
|
|
||||||
# tests disabled due to missing npm(tad) test suite, which has a dependency on
|
|
||||||
# this package
|
|
||||||
|
|
||||||
Name: nodejs-d
|
|
||||||
Version: 1.0.0
|
|
||||||
Release: 8%{?dist}
|
|
||||||
Summary: Property descriptor factory
|
|
||||||
|
|
||||||
License: MIT
|
|
||||||
URL: https://github.com/medikoo/d.git
|
|
||||||
Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
%if 0%{?fedora} >= 19
|
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
|
||||||
%else
|
|
||||||
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
BuildRequires: nodejs-packaging
|
|
||||||
BuildRequires: npm(es5-ext)
|
|
||||||
%if 0%{?enable_tests}
|
|
||||||
BuildRequires: npm(tad)
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
|
||||||
Property descriptor factory
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n package
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
# nothing to do!
|
|
||||||
|
|
||||||
%install
|
|
||||||
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
|
|
||||||
cp -pr package.json *.js \
|
|
||||||
%{buildroot}%{nodejs_sitelib}/%{packagename}
|
|
||||||
|
|
||||||
%nodejs_symlink_deps
|
|
||||||
|
|
||||||
%check
|
|
||||||
%nodejs_symlink_deps --check
|
|
||||||
%{__nodejs} -e 'require("./")'
|
|
||||||
%if 0%{?enable_tests}
|
|
||||||
%{_bindir}/tad
|
|
||||||
%else
|
|
||||||
%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m"
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%{!?_licensedir:%global license %doc}
|
|
||||||
%doc *.md CHANGES
|
|
||||||
%license LICENSE
|
|
||||||
%{nodejs_sitelib}/%{packagename}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%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
|
|
||||||
|
|
||||||
* Wed Mar 23 2016 Jared Smith <jsmith@fedoraproject.org> - 1.0.0-3
|
|
||||||
- Add missing BuildRequires
|
|
||||||
- Bump version to rebuild for PPC and AArch64
|
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Dec 18 2015 Jared Smith <jsmith@fedoraproject.org> - 1.0.0-1
|
|
||||||
- Update to upstream 1.0.0 release
|
|
||||||
- Temporarily move self-test to bootstrap
|
|
||||||
|
|
||||||
* Tue Nov 10 2015 Jared Smith <jsmith@fedoraproject.org> - 0.1.1-2
|
|
||||||
- Initial packaging
|
|
||||||
Loading…
x
Reference in New Issue
Block a user