Name: nodejs-cookie-jar Epoch: 1 Version: 0.2.0 Release: 5%{?dist} Summary: A cookie handling and cookie jar library for Node.js BuildArch: noarch Group: System Environment/Libraries #ASL 2.0 added upstream #https://github.com/mikeal/cookie-jar/blob/master/LICENSE License: ASL 2.0 URL: https://github.com/mikeal/cookie-jar Source0: http://registry.npmjs.org/cookie-jar/-/cookie-jar-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #this needs to get renamed to nodejs-cookie-jar soon Provides: nodejs-tobi-cookie = %{epoch}:%{version} Obsoletes: nodejs-tobi-cookie < 1:0.2.0-3 BuildRequires: nodejs-devel %description %summary. %prep %setup -q -n package %build #nothing to do %install rm -rf %buildroot mkdir -p %{buildroot}%{nodejs_sitelib}/cookie-jar cp -p index.js jar.js package.json %{buildroot}%{nodejs_sitelib}/cookie-jar %nodejs_symlink_deps %check %{__nodejs} tests/run.js %clean rm -rf %buildroot %files %defattr(-,root,root,-) %{nodejs_sitelib}/cookie-jar %changelog * Tue Apr 23 2013 T.C. Hollingsworth - 1:0.2.0-5 - run tests * Fri Apr 19 2013 T.C. Hollingsworth - 1:0.2.0-4 - fix Obsoletes as sugessted during rename review * Wed Apr 03 2013 T.C. Hollingsworth - 1:0.2.0-3 - rename to nodejs-cookie-jar * Wed Apr 03 2013 T.C. Hollingsworth - 1:0.2.1-1 - now unbundled from tobi, called cookie-jar upstream * Sat Jan 26 2013 T.C. Hollingsworth - 0.3.2-2 - add missing build section * Tue Jan 22 2013 T.C. Hollingsworth - 0.3.2-1 - initial package