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