From 00bfcd3f239ac9a9e84be627cc04dcd0163da99a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 09:41:34 +0000 Subject: import rh-nodejs6-nodejs-debuglog-1.0.1-6.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..344e89b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/debuglog-1.0.1.tgz diff --git a/.rh-nodejs6-nodejs-debuglog.metadata b/.rh-nodejs6-nodejs-debuglog.metadata new file mode 100644 index 0000000..713e095 --- /dev/null +++ b/.rh-nodejs6-nodejs-debuglog.metadata @@ -0,0 +1 @@ +aa24ffb9ac3df9a2351837cfb2d279360cd78492 SOURCES/debuglog-1.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-debuglog.spec b/SPECS/nodejs-debuglog.spec new file mode 100644 index 0000000..eeed487 --- /dev/null +++ b/SPECS/nodejs-debuglog.spec @@ -0,0 +1,59 @@ +%{?scl:%scl_package nodejs-debuglog} +%{!?scl:%global pkg_name %{name}} + +# This macro is needed at the start for building on EL6 +%{?nodejs_find_provides_and_requires} + +%global barename debuglog + +Name: %{?scl_prefix}nodejs-debuglog +Version: 1.0.1 +Release: 6%{?dist} +Summary: Backport of util.debuglog from node v0.11 +License: MIT +URL: https://www.npmjs.org/package/debuglog +Source0: http://registry.npmjs.org/%{barename}/-/%{barename}-%{version}.tgz +BuildArch: noarch +%if 0%{?fedora} >= 19 +ExclusiveArch: %{nodejs_arches} noarch +%else +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +%endif + +BuildRequires: %{?scl_prefix}runtime + +%description +To facilitate using the `util.debuglog()` function that will be available +when node v0.12 is released now, this is a copy extracted from the source. + +%prep +%setup -q -n package + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/debuglog +cp -pr package.json debuglog.js \ + %{buildroot}%{nodejs_sitelib}/debuglog + +%nodejs_symlink_deps + +%files +%doc LICENSE README.md +%{nodejs_sitelib}/debuglog/ + +%changelog +* Tue Feb 16 2016 Zuzana Svetlikova - 1.0.1-6 +- Use macro in -runtime dependency + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.1-5 +- Rebuilt with updated metapackage + +* Tue Dec 01 2015 Tomas Hrcka - 1.0.1-4 +- Enable scl macros + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Jul 22 2014 Ralph Bean - 1.0.1-1 +- Initial packaging for Fedora.