Blame SPECS/nodejs-tunnel-agent.spec

e9b896
%{?scl:%scl_package nodejs-tunnel-agent}
e9b896
%{!?scl:%global pkg_name %{name}}
e9b896
%{?nodejs_find_provides_and_requires}
e9b896
e9b896
Name:       %{?scl_prefix}nodejs-tunnel-agent
e9b896
Version:    0.3.0
e9b896
Release:    2%{?dist}
e9b896
Summary:    HTTP proxy tunneling agent
e9b896
# Apache 2.0 License added upstream, will appear in next release
e9b896
# https://github.com/mikeal/tunnel-agent/blob/master/LICENSE
e9b896
License:    ASL 2.0
e9b896
Group:      Development/Libraries
e9b896
URL:        https://github.com/mikeal/tunnel-agent
e9b896
Source0:    http://registry.npmjs.org/tunnel-agent/-/tunnel-agent-%{version}.tgz
e9b896
BuildRoot:  %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
e9b896
BuildArch:  noarch
e9b896
ExclusiveArch: %{nodejs_arches} noarch
e9b896
e9b896
BuildRequires:  %{?scl_prefix}nodejs-devel
e9b896
e9b896
%description
e9b896
%{summary}.
e9b896
e9b896
%prep
e9b896
%setup -q -n package
e9b896
e9b896
%build
e9b896
#nothing to do
e9b896
e9b896
%install
e9b896
rm -rf %{buildroot}
e9b896
e9b896
mkdir -p %{buildroot}%{nodejs_sitelib}/tunnel-agent
e9b896
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/tunnel-agent
e9b896
e9b896
%nodejs_symlink_deps
e9b896
e9b896
%clean
e9b896
rm -rf %{buildroot}
e9b896
e9b896
%files
e9b896
%defattr(-,root,root,-)
e9b896
%{nodejs_sitelib}/tunnel-agent
e9b896
e9b896
%changelog
e9b896
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.3.0-2
e9b896
- replace provides and requires with macro
e9b896
e9b896
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.0-1
e9b896
- new upstream release 0.3.0
e9b896
e9b896
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-3
e9b896
- restrict to compatible arches
e9b896
e9b896
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-2
e9b896
- add macro for EPEL6 dependency generation
e9b896
e9b896
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.2.0-2
e9b896
- Add support for software collections
e9b896
e9b896
* Fri Apr 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-1
e9b896
- initial package