Blame SPECS/nodejs-chmodr.spec

776225
%{?scl:%scl_package nodejs-chmodr}
776225
%{!?scl:%global pkg_name %{name}}
776225
%{?nodejs_find_provides_and_requires}
776225
776225
Name:       %{?scl_prefix}nodejs-chmodr
776225
Version:    0.1.0
776225
Release:    4%{?dist}
776225
Summary:    Recursively change UNIX file permissions
776225
License:    BSD
776225
Group:      System Environment/Libraries
776225
URL:        https://github.com/isaacs/chmodr
776225
Source0:    http://registry.npmjs.org/chmodr/-/chmodr-%{version}.tgz
776225
BuildRoot:  %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
776225
BuildArch:  noarch
776225
776225
BuildRequires:  %{?scl_prefix}nodejs-devel
776225
776225
%description
776225
%{summary}, like `chmod -R`.
776225
776225
%prep
776225
%setup -q -n package
776225
776225
%build
776225
#nothing to do
776225
776225
%install
776225
rm -rf %{buildroot}
776225
776225
mkdir -p %{buildroot}%{nodejs_sitelib}/chmodr
776225
cp -pr chmodr.js package.json %{buildroot}%{nodejs_sitelib}/chmodr
776225
776225
%nodejs_symlink_deps
776225
776225
# disabled; TAP is not in the distro yet
776225
#%%check
776225
#%%tap test/*
776225
776225
%clean
776225
rm -rf %{buildroot}
776225
776225
%files
776225
%defattr(-,root,root,-)
776225
%{nodejs_sitelib}/chmodr
776225
%doc README.md LICENSE
776225
776225
%changelog
776225
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.1.0-4
776225
- replace provides and requires with macro
776225
776225
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.1.0-3
776225
- Add support for software collections
776225
776225
* Wed Mar 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.0-2
776225
- fix License tag
776225
776225
* Wed Mar 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.0-1
776225
- initial package