From 3881ba7cfea42b92e28a062bbb3124a4c7a4d82d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 09:01:33 +0000 Subject: import rh-nodejs4-nodejs-wrappy-1.0.1-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..887f8e5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/wrappy-1.0.1.tgz diff --git a/.rh-nodejs4-nodejs-wrappy.metadata b/.rh-nodejs4-nodejs-wrappy.metadata new file mode 100644 index 0000000..04b5d44 --- /dev/null +++ b/.rh-nodejs4-nodejs-wrappy.metadata @@ -0,0 +1 @@ +1e65969965ccbc2db4548c6b84a6f2c5aedd4739 SOURCES/wrappy-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-wrappy.spec b/SPECS/nodejs-wrappy.spec new file mode 100644 index 0000000..79fef13 --- /dev/null +++ b/SPECS/nodejs-wrappy.spec @@ -0,0 +1,46 @@ +%{?scl:%scl_package nodejs-wrappy} +%{!?scl:%global pkg_name %{name}} + +Name: %{?scl_prefix}nodejs-wrappy +Version: 1.0.1 +Release: 3%{?dist} +Summary: Callback wrapping utility +License: ISC +Group: Development/Languages/Other +Url: https://github.com/npm/wrappy +Source: http://registry.npmjs.org/wrappy/-/wrappy-%{version}.tgz +BuildRequires: nodejs010 +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build +BuildArch: noarch +ExclusiveArch: %{ix86} x86_64 %{arm} noarch + +%nodejs_find_provides_and_requires + +%description +Callback wrapping utility + +%prep +%setup -q -n package + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/wrappy +cp -pr package.json wrappy.js \ + %{buildroot}%{nodejs_sitelib}/wrappy/ + +%files +%defattr(-,root,root,-) +%doc README.md LICENSE +%{nodejs_sitelib}/wrappy + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.1-3 +- rebuilt + +* Tue Jan 13 2015 Tomas Hrcka - 1.0.1-2 +- Remove undefined macro + +* Mon Jan 12 2015 Tomas Hrcka - 1.0.1-1 +- Initial build +