From f805f4e1b3c1772c10db496e23c6a43d764b1f00 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 10:34:30 +0000 Subject: import rh-nodejs6-nodejs-dashdash-1.13.1-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8060cfd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/1.13.1.tar.gz diff --git a/.rh-nodejs6-nodejs-dashdash.metadata b/.rh-nodejs6-nodejs-dashdash.metadata new file mode 100644 index 0000000..388c397 --- /dev/null +++ b/.rh-nodejs6-nodejs-dashdash.metadata @@ -0,0 +1 @@ +9caa7f4450f9280da2516d03244b55a008a0568f SOURCES/1.13.1.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-dashdash.spec b/SPECS/nodejs-dashdash.spec new file mode 100644 index 0000000..50cf31f --- /dev/null +++ b/SPECS/nodejs-dashdash.spec @@ -0,0 +1,78 @@ +%{?scl:%scl_package nodejs-%{srcname}} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 +%global srcname dashdash + +%global owner trentm + +Name: %{?scl_prefix}nodejs-%{srcname} +Version: 1.13.1 +Release: 1%{?dist} +Summary: A light, featureful and explicit option parsing library for node.js +License: MIT +URL: https://github.com/trentm/node-dashdash +Source0: https://github.com/%{owner}/node-%{srcname}/archive/%{version}.tar.gz + +BuildArch: noarch + +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%if 0%{?enable_tests} +BuildRequires: %{?scl_prefix}npm(nodeunit) +BuildRequires: %{?scl_prefix}npm(assert-plus) +%endif + +%description +%{summary}. + +%prep +%setup -n %{pkg_name}-%{version} -qn node-%{srcname}-%{version} +#%nodejs_fixdep assert-plus +rm -rf node_modules + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname} + +cp -pr package.json lib/ \ + %{buildroot}%{nodejs_sitelib}/%{srcname} + +%nodejs_symlink_deps + +%if 0%{?enable_tests} + +%check +%nodejs_symlink_deps --check +nodeunit test/*.test.js +%endif + +%files +%doc CHANGES.md AUTHORS README.md TODO.txt examples +%license LICENSE.txt +%{nodejs_sitelib}/%{srcname} + +%changelog +* Thu Sep 22 2016 Zuzana Svetlikova - 1.13.1-1 +- Update + +* Thu Sep 22 2016 Zuzana Svetlikova - 1.10.1-5 +- Add requires and provides macro + +* Thu Sep 22 2016 Zuzana Svetlikova - 1.10.1-4 +- Built for scl + +* Sun Aug 28 2016 Piotr Popieluch - - 1.10.1-3 +- fixdep assert-plus + +* Thu Feb 04 2016 Fedora Release Engineering - 1.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sun Dec 13 2015 Piotr Popieluch - 1.10.1-1 +- Initial package