%{?nodejs_find_provides_and_requires} Name: nodejs-oauth-sign Version: 0.8.0 Release: 1%{?dist} Summary: OAuth1 signing for Node.js # Apache 2.0 License added upstream, will appear in next release # https://github.com/mikeal/oauth-sign/blob/master/LICENSE License: ASL 2.0 Group: Development/Libraries URL: https://github.com/mikeal/oauth-sign Source0: http://registry.npmjs.org/oauth-sign/-/oauth-sign-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-devel %description %{summary}. %prep %setup -q -n package %build #nothing to do %install rm -rf %{buildroot} mkdir -p %{buildroot}%{nodejs_sitelib}/oauth-sign cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/oauth-sign %nodejs_symlink_deps #test requires network #%%check #%%{__nodejs} test.js %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{nodejs_sitelib}/oauth-sign %changelog * Fri Oct 30 2015 Jared Smith - 0.8.0-1 - Update to upstream 0.8.0 release * Wed Jun 17 2015 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Jun 23 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 05 2013 T.C. Hollingsworth - 0.2.0-1 - initial package