|
|
e73781 |
%{?scl:%scl_package nodejs-chownr}
|
|
|
e73781 |
%{!?scl:%global pkg_name %{name}}
|
|
|
e73781 |
%{?nodejs_find_provides_and_requires}
|
|
|
e73781 |
|
|
|
e73781 |
Name: %{?scl_prefix}nodejs-chownr
|
|
|
867a9d |
Version: 1.0.1
|
|
|
867a9d |
Release: 1%{?dist}
|
|
|
e73781 |
Summary: Changes file permissions recursively
|
|
|
e73781 |
License: BSD
|
|
|
e73781 |
Group: System Environment/Libraries
|
|
|
e73781 |
URL: https://github.com/isaacs/chownr
|
|
|
e73781 |
Source0: http://registry.npmjs.org/chownr/-/chownr-%{version}.tgz
|
|
|
e73781 |
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
e73781 |
BuildArch: noarch
|
|
|
e73781 |
|
|
|
e73781 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
e73781 |
|
|
|
e73781 |
%description
|
|
|
e73781 |
Changes file permissions recursively, like `chown -R`.
|
|
|
e73781 |
|
|
|
e73781 |
%prep
|
|
|
e73781 |
%setup -q -n package
|
|
|
e73781 |
|
|
|
e73781 |
%build
|
|
|
e73781 |
#nothing to do
|
|
|
e73781 |
|
|
|
e73781 |
%install
|
|
|
e73781 |
rm -rf %{buildroot}
|
|
|
e73781 |
|
|
|
e73781 |
mkdir -p %{buildroot}%{nodejs_sitelib}/chownr
|
|
|
e73781 |
cp -p chownr.js package.json %{buildroot}%{nodejs_sitelib}/chownr
|
|
|
e73781 |
|
|
|
e73781 |
%nodejs_symlink_deps
|
|
|
e73781 |
|
|
|
e73781 |
#%%check
|
|
|
e73781 |
#%%tap test/*.js
|
|
|
e73781 |
|
|
|
e73781 |
%clean
|
|
|
e73781 |
rm -rf %{buildroot}
|
|
|
e73781 |
|
|
|
e73781 |
%files
|
|
|
e73781 |
%defattr(-,root,root,-)
|
|
|
e73781 |
%{nodejs_sitelib}/chownr
|
|
|
867a9d |
%doc README.md LICENSE
|
|
|
e73781 |
|
|
|
e73781 |
%changelog
|
|
|
867a9d |
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.1-1
|
|
|
867a9d |
- New upstream release
|
|
|
867a9d |
|
|
|
e73781 |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.0.1-9
|
|
|
e73781 |
- replace provides and requires with macro
|
|
|
e73781 |
|
|
|
e73781 |
* Thu Apr 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.0.1-8
|
|
|
e73781 |
- Add support for software collections
|
|
|
e73781 |
|
|
|
e73781 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-7
|
|
|
e73781 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
e73781 |
|
|
|
e73781 |
* Tue Jan 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.1-6
|
|
|
e73781 |
- rebuild with fresh tarball from upstream
|
|
|
e73781 |
- ship newly included LICENCE file
|
|
|
e73781 |
|
|
|
e73781 |
* Mon Jan 14 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.1-5
|
|
|
e73781 |
- correct license information
|
|
|
e73781 |
|
|
|
e73781 |
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.1-4
|
|
|
e73781 |
- add missing build section
|
|
|
e73781 |
- fix summary and description
|
|
|
e73781 |
|
|
|
e73781 |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.1-3
|
|
|
e73781 |
- clean up for submission
|
|
|
e73781 |
|
|
|
e73781 |
* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.1-2
|
|
|
e73781 |
- fix BuildRequires not present on
|
|
|
e73781 |
|
|
|
e73781 |
* Thu Mar 29 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.1-1
|
|
|
e73781 |
- initial package
|
|
|
e73781 |
|