Blame SPECS/nodejs-chmodr.spec

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