The package rpms/nodejs-tough-cookie.git has added or updated architecture specific
content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-tough-cookie.git/commit/?i....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 66cc171353e1689a91bbaf5f792798805d2373e2
Author: Mohan Boddu <mboddu(a)bhujji.com>
Date: Fri May 10 14:23:38 2019 -0400
Revert "Orphaned for 6+ weeks"
Unretirement for
https://pagure.io/releng/issue/8353
This reverts commit f74231d50eb4c62a9ebb069c4a68c496d1a283fe.
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4015c03
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+/tough-cookie-fb14561.tar.gz
+/tough-cookie-c11a2d1.tar.gz
+/tough-cookie-2.3.2.tar.gz
diff --git a/dead.package b/dead.package
deleted file mode 100644
index 5204a84..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-Orphaned for 6+ weeks
diff --git a/nodejs-tough-cookie-expiry.patch b/nodejs-tough-cookie-expiry.patch
new file mode 100644
index 0000000..46fd90c
--- /dev/null
+++ b/nodejs-tough-cookie-expiry.patch
@@ -0,0 +1,22 @@
+commit 436ef58406c9ed219ae7f9778288645054d3e3a4
+Author: Tom Hughes <tom(a)compton.nu>
+Date: Sat Aug 12 15:29:36 2017 +0100
+
+ Push expiry date further into the future
+
+ This test had started failed because we have now passed the
+ specified expiry date, so push it further into the future.
+
+diff --git a/test/ietf_data/parser.json b/test/ietf_data/parser.json
+index 783f660..c40ad54 100644
+--- a/test/ietf_data/parser.json
++++ b/test/ietf_data/parser.json
+@@ -21,7 +21,7 @@
+ "test": "0003",
+ "received": [
+ "foo=bar; Expires=Fri, 07 Aug 2007 08:04:19 GMT",
+- "foo2=bar2; Expires=Fri, 07 Aug 2017 08:04:19 GMT"
++ "foo2=bar2; Expires=Fri, 07 Aug 2027 08:04:19 GMT"
+ ],
+ "sent": [
+ { "name": "foo2", "value": "bar2" }
diff --git a/nodejs-tough-cookie.spec b/nodejs-tough-cookie.spec
new file mode 100644
index 0000000..b8c2ff9
--- /dev/null
+++ b/nodejs-tough-cookie.spec
@@ -0,0 +1,86 @@
+%global enable_tests 1
+%global srcname tough-cookie
+
+Name: nodejs-%{srcname}
+Version: 2.3.2
+Release: 5%{?dist}
+Summary: RFC6265 Cookies and Cookie Jar for Node.js
+# The entire source is BSD except for "public_suffix_list.dat" which is
MPLv2.0
+# and "lib/pubsuffix.js" which is partially MPLv2.0 and BSD
+License: BSD and MPLv2.0
+URL:
https://www.npmjs.com/package/tough-cookie
+Source0:
https://github.com/salesforce/%{srcname}/archive/v%{version}/%{srcname}-%...
+#
https://github.com/salesforce/tough-cookie/pull/91
+Patch0: nodejs-tough-cookie-expiry.patch
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires: npm(async)
+BuildRequires: npm(string.prototype.repeat)
+BuildRequires: npm(vows)
+%endif
+
+%description
+%{summary}.
+
+%prep
+%autosetup -p 1 -n %{srcname}-%{version}
+%nodejs_fixdep punycode "^2.0.0"
+rm -rf node_modules
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname}
+cp -pr package.json lib/ \
+ %{buildroot}%{nodejs_sitelib}/%{srcname}
+
+%nodejs_symlink_deps
+
+%if 0%{?enable_tests}
+%check
+%nodejs_symlink_deps --check
+vows --spec test/*_test.js
+%endif
+
+%files
+%doc README.md
+%license LICENSE
+%{nodejs_sitelib}/%{srcname}
+
+%changelog
+* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.3.2-5
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.3.2-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.3.2-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Sat Aug 12 2017 Tom Hughes <tom(a)compton.nu> - 2.3.2-2
+- Update npm(punycode) dependency
+
+* Sat Aug 12 2017 Tom Hughes <tom(a)compton.nu> - 2.3.2-1
+- Update to 2.3.2 upstream release
+- Patch date related test failure
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.3.1-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.3.1-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Wed Jul 27 2016 Piotr Popieluch <piotr1212(a)gmail.com> - - 2.3.1-1
+- Update to 2.3.1
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.2.0-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Sat Oct 24 2015 Piotr Popieluch <piotr1212(a)gmail.com> - 2.2.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..8ef3313
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (tough-cookie-2.3.2.tar.gz) =
920efd55b586684cdb62cf1f61a87137144c8ef1f8db7e2df6030f5614aa10dd9bbb22c2fb595122e7a53efb9e38a8928bef587a0443c2ba55adc21118c085ed