From 5d7cafeb06790f671bd3a4887e3b289a0194dc5a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 08:57:12 +0000 Subject: import rh-nodejs4-nodejs-normalize-git-url-3.0.1-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0af969a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/normalize-git-url-3.0.1.tgz diff --git a/.rh-nodejs4-nodejs-normalize-git-url.metadata b/.rh-nodejs4-nodejs-normalize-git-url.metadata new file mode 100644 index 0000000..b50e1e8 --- /dev/null +++ b/.rh-nodejs4-nodejs-normalize-git-url.metadata @@ -0,0 +1 @@ +d40d419d05a15870271e50534dbb7b8ccd9b0a5c SOURCES/normalize-git-url-3.0.1.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-normalize-git-url.spec b/SPECS/nodejs-normalize-git-url.spec new file mode 100644 index 0000000..fe81024 --- /dev/null +++ b/SPECS/nodejs-normalize-git-url.spec @@ -0,0 +1,75 @@ +%{?scl:%scl_package nodejs-normalize-git-url} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-normalize-git-url + +%global npm_name normalize-git-url +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-normalize-git-url +Version: 3.0.1 +Release: 2%{?dist} +Summary: Normalizes Git URLs. For npm, but you can use it too. +Url: https://github.com/npm/normalize-git-url +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(tap) +%endif + +%description +Normalizes Git URLs. For npm, but you can use it too. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr package.json normalize-git-url.js \ + %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%{nodejs_symlink_deps} + +%if 0%{?enable_tests} + +%check +%{nodejs_symlink_deps} --check +tap test/*.js +%endif + +%files +%{nodejs_sitelib}/normalize-git-url + +%doc README.md +%doc LICENSE + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 3.0.1-2 +- rebuilt + +* Mon Nov 30 2015 Tomas Hrcka - 3.0.1-1 +- New upstream release + +* Fri Nov 27 2015 Tomas Hrcka - 1.0.1-3 +- Enable SCL macros + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu May 22 2015 Zuzana Svetlikova - 1.0.1-1 +- Rebuilt with new release containing license text + +* Wed May 13 2015 Zuzana Svetlikova - 1.0.0-1 +- Initial build