From 41b9c805f1f531a1c99657d3c42280b563d5ba44 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 10:53:09 +0000 Subject: import rh-nodejs6-nodejs-hosted-git-info-2.1.5-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7a231ff --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/hosted-git-info-2.1.5.tgz diff --git a/.rh-nodejs6-nodejs-hosted-git-info.metadata b/.rh-nodejs6-nodejs-hosted-git-info.metadata new file mode 100644 index 0000000..7d4aa78 --- /dev/null +++ b/.rh-nodejs6-nodejs-hosted-git-info.metadata @@ -0,0 +1 @@ +0ba81d90da2e25ab34a332e6ec77936e1598118b SOURCES/hosted-git-info-2.1.5.tgz 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-hosted-git-info.spec b/SPECS/nodejs-hosted-git-info.spec new file mode 100644 index 0000000..29e5166 --- /dev/null +++ b/SPECS/nodejs-hosted-git-info.spec @@ -0,0 +1,79 @@ +%{?scl:%scl_package nodejs-hosted-git-info} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-hosted-git-info + +%global npm_name hosted-git-info +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-hosted-git-info +Version: 2.1.5 +Release: 1%{?dist} +Summary: Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab +Url: https://github.com/npm/hosted-git-info +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +License: ISC + +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%if 0%{?enable_tests} +#BuildRequires: %{?scl_prefix}npm(standard) +#missing dependency +BuildRequires: %{?scl_prefix}npm(tap) +%endif + +%description +Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr package.json index.js git-host.js git-host-info.js \ + %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%{nodejs_symlink_deps} + +%if 0%{?enable_tests} + +%check +%{nodejs_symlink_deps} --check +#standard && tap test/*.js +#commented out because of missing dependency +tap test/*.js +%endif + +%files +%{nodejs_sitelib}/hosted-git-info + +%doc README.md +%license LICENSE + +%changelog +* Wed Sep 07 2016 Zuzana Svetlikova - 2.1.5-1 +- Updated with script + +* Sun Feb 14 2016 Zuzana Svetlikova - 2.1.4-4 +- rebuilt + +* Thu Nov 26 2015 Tomas Hrcka - 2.1.4-3 +- Enable scl macros + +* Wed Jun 17 2015 Fedora Release Engineering - 2.1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri May 22 2015 Zuzana Svetlikova - 2.1.4-1 +- New upstream release with license + +* Wed May 13 2015 Zuzana Svetlikova - 2.1.2-1 +- Initial build