[nodejs-tobi-cookie/f19] now unbundled from tobi, called cookie-jar upstream
T.C. Hollingsworth
patches at fedoraproject.org
Wed Apr 3 23:20:05 UTC 2013
commit 4a4cb499e85153ff71a0f4a8711af5cb420f9418
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date: Wed Apr 3 16:19:36 2013 -0700
now unbundled from tobi, called cookie-jar upstream
.gitignore | 1 +
nodejs-tobi-cookie.spec | 37 ++++++++++++++++++-------------------
sources | 1 +
3 files changed, 20 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 17bb204..d7ff09b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/tobi-0.3.2.tgz
+/cookie-jar-0.2.0.tgz
diff --git a/nodejs-tobi-cookie.spec b/nodejs-tobi-cookie.spec
index 1387211..6aa45f2 100644
--- a/nodejs-tobi-cookie.spec
+++ b/nodejs-tobi-cookie.spec
@@ -1,17 +1,21 @@
Name: nodejs-tobi-cookie
-Version: 0.3.2
-Release: 2%{?dist}
+Epoch: 1
+Version: 0.2.0
+Release: 1%{?dist}
Summary: A cookie handling and cookie jar library for Node.js
BuildArch: noarch
Group: System Environment/Libraries
-# a copy of the MIT license is included in Readme.md
-License: MIT
-URL: https://github.com/LearnBoost/tobi
-Source0: http://registry.npmjs.org/tobi/-/tobi-%{version}.tgz
-Source1: nodejs-tobi-cookie-package.json
+#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-cookie-jar = %{version}
+
BuildRequires: nodejs-devel
%description
@@ -26,27 +30,22 @@ BuildRequires: nodejs-devel
%install
rm -rf %buildroot
-mkdir -p %{buildroot}%{nodejs_sitelib}/tobi-cookie
-cp -p lib/cookie/* %{buildroot}%{nodejs_sitelib}/tobi-cookie
-install -pm0644 %{SOURCE1} %{buildroot}%{nodejs_sitelib}/tobi-cookie/package.json
-sed -i 's/@VERSION@/%{version}/' \
- %{buildroot}%{nodejs_sitelib}/tobi-cookie/package.json
+mkdir -p %{buildroot}%{nodejs_sitelib}/cookie-jar
+cp -p index.js jar.js package.json %{buildroot}%{nodejs_sitelib}/cookie-jar
-# This tries to work on the full tobi, because it checks the package.json in
-# the current working directory. I'm going to fix it to always use the one in
-# the buildroot soon. We can safely skip it since this package doesn't have
-# any dependencies.
-#%%nodejs_symlink_deps
+%nodejs_symlink_deps
%clean
rm -rf %buildroot
%files
%defattr(-,root,root,-)
-%{nodejs_sitelib}/tobi-cookie
-%doc Readme.md History.md
+%{nodejs_sitelib}/cookie-jar
%changelog
+* Wed Apr 03 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1:0.2.1-1
+- now unbundled from tobi, called cookie-jar upstream
+
* Sat Jan 26 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.3.2-2
- add missing build section
diff --git a/sources b/sources
index 1ad22c7..e384933 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
b8074c845ee0f008a6393077576bdac7 tobi-0.3.2.tgz
+55107bbd8b61b4296eb26d532ec8150c cookie-jar-0.2.0.tgz
More information about the scm-commits
mailing list