From 6211b5539afe17f1ce1187878b713812e3287d5a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 09:08:08 +0000 Subject: import rh-nodejs4-nodejs-chownr-1.0.1-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..edc5f7f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/chownr-1.0.1.tgz diff --git a/.rh-nodejs4-nodejs-chownr.metadata b/.rh-nodejs4-nodejs-chownr.metadata new file mode 100644 index 0000000..28201e4 --- /dev/null +++ b/.rh-nodejs4-nodejs-chownr.metadata @@ -0,0 +1 @@ +e2a75042a9551908bebd25b8523d5f9769d79181 SOURCES/chownr-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-chownr.spec b/SPECS/nodejs-chownr.spec new file mode 100644 index 0000000..5261cbf --- /dev/null +++ b/SPECS/nodejs-chownr.spec @@ -0,0 +1,81 @@ +%{?scl:%scl_package nodejs-chownr} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-chownr +Version: 1.0.1 +Release: 2%{?dist} +Summary: Changes file permissions recursively +License: BSD +Group: System Environment/Libraries +URL: https://github.com/isaacs/chownr +Source0: http://registry.npmjs.org/chownr/-/chownr-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +Changes file permissions recursively, like `chown -R`. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/chownr +cp -p chownr.js package.json %{buildroot}%{nodejs_sitelib}/chownr + +%nodejs_symlink_deps + +#%%check +#%%tap test/*.js + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/chownr +%doc README.md LICENSE + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.1-2 +- rebuilt + +* Mon Nov 30 2015 Tomas Hrcka - 1.0.1-1 +- New upstream release + +* Thu Oct 17 2013 Tomas Hrcka - 0.0.1-9 +- replace provides and requires with macro + +* Thu Apr 11 2013 Stanislav Ochotnicky - 0.0.1-8 +- Add support for software collections + +* Thu Feb 14 2013 Fedora Release Engineering - 0.0.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Jan 15 2013 T.C. Hollingsworth - 0.0.1-6 +- rebuild with fresh tarball from upstream +- ship newly included LICENCE file + +* Mon Jan 14 2013 T.C. Hollingsworth - 0.0.1-5 +- correct license information + +* Tue Jan 08 2013 T.C. Hollingsworth - 0.0.1-4 +- add missing build section +- fix summary and description + +* Mon Dec 31 2012 T.C. Hollingsworth - 0.0.1-3 +- clean up for submission + +* Fri Apr 27 2012 T.C. Hollingsworth - 0.0.1-2 +- fix BuildRequires not present on - 0.0.1-1 +- initial package +