|
|
63d0d6 |
%{?scl:%scl_package nodejs-form-data}
|
|
|
63d0d6 |
%{!?scl:%global pkg_name %{name}}
|
|
|
63d0d6 |
%global enable_tests 0
|
|
|
63d0d6 |
%{?nodejs_find_provides_and_requires}
|
|
|
63d0d6 |
|
|
|
63d0d6 |
Name: %{?scl_prefix}nodejs-form-data
|
|
|
63d0d6 |
Version: 2.0.0
|
|
|
63d0d6 |
Release: 1%{?dist}
|
|
|
63d0d6 |
Summary: A module to create readable "multipart/form-data" streams
|
|
|
63d0d6 |
|
|
|
63d0d6 |
License: MIT
|
|
|
63d0d6 |
URL: https://github.com/form-data/form-data
|
|
|
63d0d6 |
Source0: http://registry.npmjs.org/form-data/-/form-data-%{version}.tgz
|
|
|
63d0d6 |
|
|
|
63d0d6 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
63d0d6 |
|
|
|
63d0d6 |
BuildArch: noarch
|
|
|
63d0d6 |
%if 0%{?fedora} >= 19
|
|
|
63d0d6 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
63d0d6 |
%else
|
|
|
63d0d6 |
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
|
|
63d0d6 |
%endif
|
|
|
63d0d6 |
|
|
|
63d0d6 |
%description
|
|
|
63d0d6 |
A module to create readable "multipart/form-data" streams. Can be used to
|
|
|
63d0d6 |
submit forms and file uploads to other web applications.
|
|
|
63d0d6 |
|
|
|
63d0d6 |
%prep
|
|
|
63d0d6 |
%setup -q -n package
|
|
|
63d0d6 |
|
|
|
63d0d6 |
%build
|
|
|
63d0d6 |
#nothing to do
|
|
|
63d0d6 |
|
|
|
63d0d6 |
%install
|
|
|
63d0d6 |
mkdir -p %{buildroot}%{nodejs_sitelib}/form-data
|
|
|
63d0d6 |
cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/form-data
|
|
|
63d0d6 |
%nodejs_symlink_deps
|
|
|
63d0d6 |
|
|
|
63d0d6 |
%if 0%{enable_tests}
|
|
|
63d0d6 |
%check
|
|
|
63d0d6 |
%nodejs_symlink_deps --check
|
|
|
63d0d6 |
|
|
|
63d0d6 |
%endif
|
|
|
63d0d6 |
|
|
|
63d0d6 |
|
|
|
63d0d6 |
%files
|
|
|
63d0d6 |
%{nodejs_sitelib}/form-data
|
|
|
63d0d6 |
%doc License README.md
|
|
|
63d0d6 |
|
|
|
63d0d6 |
%changelog
|
|
|
63d0d6 |
* Thu Jan 05 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-1
|
|
|
63d0d6 |
- Updated with script
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Wed Sep 07 2016 Zuzana Svetlikova <zsvetlik@redhat.com>
|
|
|
63d0d6 |
- Updated with script, change URL
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.1-4
|
|
|
63d0d6 |
- rebuilt
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Tue Mar 04 2014 Tomas Hrcka <thrcka@redhat.com> - 0.1.1-3
|
|
|
63d0d6 |
- Add missing nodejs_symlink_deps macro
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.1.1-2
|
|
|
63d0d6 |
- replace provides and requires with macro
|
|
|
63d0d6 |
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Mon Aug 26 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.1.1-1
|
|
|
63d0d6 |
- update to upstream release 0.1.1
|
|
|
63d0d6 |
- add ExclusiveArch logic
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Tue Jul 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.0-1
|
|
|
63d0d6 |
- new upstream release 0.1.0
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.10-1
|
|
|
63d0d6 |
- new upstream release 0.0.10
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-3
|
|
|
63d0d6 |
- restrict to compatible arches
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-2
|
|
|
63d0d6 |
- add macro for EPEL6 dependency generation
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.0.7-2
|
|
|
63d0d6 |
- Add support for software collections
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Wed Feb 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-1
|
|
|
63d0d6 |
- new upstream release 0.0.7
|
|
|
63d0d6 |
- combined-stream dep good now
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.6-4
|
|
|
63d0d6 |
- fix combined-stream dep for 0.0.4
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.6-3
|
|
|
63d0d6 |
- fix async dep for new version
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Mon Jan 14 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.6-2
|
|
|
63d0d6 |
- add missing dist macro to Release
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.6-1
|
|
|
63d0d6 |
- new upstream release 0.0.6
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.5-2
|
|
|
63d0d6 |
- add missing build section
|
|
|
63d0d6 |
|
|
|
63d0d6 |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.5-1
|
|
|
63d0d6 |
- initial package generated by npm2rpm
|