|
|
fcb0eb |
%{?scl:%scl_package nodejs-rimraf}
|
|
|
fcb0eb |
%{!?scl:%global pkg_name %{name}}
|
|
|
fcb0eb |
%{?nodejs_find_provides_and_requires}
|
|
|
fcb0eb |
|
|
|
fcb0eb |
Name: %{?scl_prefix}nodejs-rimraf
|
|
|
ec29b2 |
Version: 2.4.3
|
|
|
fcb0eb |
Release: 1%{?dist}
|
|
|
fcb0eb |
Summary: A deep deletion module for node.js
|
|
|
fcb0eb |
License: MIT
|
|
|
fcb0eb |
Group: System Environment/Libraries
|
|
|
fcb0eb |
URL: https://github.com/isaacs/rimraf
|
|
|
fcb0eb |
Source0: http://registry.npmjs.org/rimraf/-/rimraf-%{version}.tgz
|
|
|
fcb0eb |
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
fcb0eb |
BuildArch: noarch
|
|
|
fcb0eb |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
fcb0eb |
|
|
|
fcb0eb |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
fcb0eb |
|
|
|
fcb0eb |
%description
|
|
|
fcb0eb |
%summary (like `rm -rf`).
|
|
|
fcb0eb |
|
|
|
fcb0eb |
%prep
|
|
|
fcb0eb |
%setup -q -n package
|
|
|
fcb0eb |
|
|
|
fcb0eb |
%build
|
|
|
fcb0eb |
#nothing to do
|
|
|
fcb0eb |
|
|
|
fcb0eb |
%install
|
|
|
fcb0eb |
rm -rf %{buildroot}
|
|
|
fcb0eb |
|
|
|
fcb0eb |
mkdir -p %{buildroot}%{nodejs_sitelib}/rimraf
|
|
|
fcb0eb |
cp -pr rimraf.js package.json %{buildroot}%{nodejs_sitelib}/rimraf
|
|
|
fcb0eb |
|
|
|
fcb0eb |
%nodejs_symlink_deps
|
|
|
fcb0eb |
|
|
|
fcb0eb |
%check
|
|
|
ec29b2 |
#tests now requires tap, disabling them
|
|
|
fcb0eb |
|
|
|
fcb0eb |
%clean
|
|
|
fcb0eb |
rm -rf %{buildroot}
|
|
|
fcb0eb |
|
|
|
fcb0eb |
%files
|
|
|
fcb0eb |
%defattr(-,root,root,-)
|
|
|
fcb0eb |
%{nodejs_sitelib}/rimraf
|
|
|
ec29b2 |
%doc LICENSE README.md
|
|
|
fcb0eb |
|
|
|
fcb0eb |
%changelog
|
|
|
ec29b2 |
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 2.4.3-1
|
|
|
ec29b2 |
- Rebase to latest upstream
|
|
|
ec29b2 |
|
|
|
5883bd |
* Thu Jan 08 2015 Tomas Hrcka <thrcka@redhat.com> - 2.2.8-1
|
|
|
5883bd |
- New upstream release 2.2.8
|
|
|
5883bd |
|
|
|
fcb0eb |
* Thu Jan 16 2014 Tomas Hrcka <thrcka@redhat.com> - 2.2.6-1
|
|
|
fcb0eb |
- New upstream release 2.2.6
|
|
|
fcb0eb |
|
|
|
fcb0eb |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 2.2.2-2
|
|
|
fcb0eb |
- replace provides and requires with macro
|
|
|
fcb0eb |
|
|
|
fcb0eb |
|
|
|
fcb0eb |
* Tue Jul 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.2.2-1
|
|
|
fcb0eb |
- new upstream release 2.2.2
|
|
|
fcb0eb |
|
|
|
fcb0eb |
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.2.0-1
|
|
|
fcb0eb |
- new upstream release 2.2.0
|
|
|
fcb0eb |
|
|
|
fcb0eb |
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.4-3
|
|
|
fcb0eb |
- restrict to compatible arches
|
|
|
fcb0eb |
|
|
|
fcb0eb |
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.4-2
|
|
|
fcb0eb |
- add macro for EPEL6 dependency generation
|
|
|
fcb0eb |
|
|
|
fcb0eb |
* Thu Apr 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1.4-2
|
|
|
fcb0eb |
- Add support for software collections
|
|
|
fcb0eb |
|
|
|
fcb0eb |
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.4-1
|
|
|
fcb0eb |
- new upstream release 2.1.4
|
|
|
fcb0eb |
|
|
|
fcb0eb |
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.1-2
|
|
|
fcb0eb |
- add missing build section
|
|
|
fcb0eb |
|
|
|
fcb0eb |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.1-1
|
|
|
fcb0eb |
- new upstream release 2.1.1
|
|
|
fcb0eb |
- clean up for submission
|
|
|
fcb0eb |
|
|
|
fcb0eb |
* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.0.1-2
|
|
|
fcb0eb |
- guard Requires for F17 automatic depedency generation
|
|
|
fcb0eb |
|
|
|
fcb0eb |
* Thu Feb 09 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.0.1-1
|
|
|
fcb0eb |
- new upstream release 2.0.1
|
|
|
fcb0eb |
|
|
|
fcb0eb |
* Tue Oct 25 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.9-1
|
|
|
fcb0eb |
- new upstream release
|
|
|
fcb0eb |
|
|
|
fcb0eb |
* Tue Aug 23 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.3-1
|
|
|
fcb0eb |
- initial package
|