|
|
62a8d2 |
%{?scl:%scl_package nodejs-cookie-jar}
|
|
|
62a8d2 |
%{!?scl:%global pkg_name %{name}}
|
|
|
62a8d2 |
%{?nodejs_find_provides_and_requires}
|
|
|
62a8d2 |
|
|
|
62a8d2 |
Name: %{?scl_prefix}nodejs-cookie-jar
|
|
|
62a8d2 |
Epoch: 1
|
|
|
62a8d2 |
Version: 0.3.0
|
|
|
62a8d2 |
Release: 2.2%{?dist}
|
|
|
62a8d2 |
Summary: A cookie handling and cookie jar library for Node.js
|
|
|
62a8d2 |
BuildArch: noarch
|
|
|
62a8d2 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
62a8d2 |
|
|
|
62a8d2 |
Group: System Environment/Libraries
|
|
|
62a8d2 |
#ASL 2.0 added upstream
|
|
|
62a8d2 |
#https://github.com/mikeal/cookie-jar/blob/master/LICENSE
|
|
|
62a8d2 |
License: ASL 2.0
|
|
|
62a8d2 |
URL: https://github.com/mikeal/cookie-jar
|
|
|
62a8d2 |
Source0: http://registry.npmjs.org/cookie-jar/-/cookie-jar-%{version}.tgz
|
|
|
62a8d2 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
62a8d2 |
|
|
|
62a8d2 |
#this needs to get renamed to nodejs-cookie-jar soon
|
|
|
62a8d2 |
Provides: %{?scl_prefix}nodejs-tobi-cookie = %{epoch}:%{version}
|
|
|
62a8d2 |
Obsoletes: %{?scl_prefix}nodejs-tobi-cookie < 1:0.2.0-3
|
|
|
62a8d2 |
|
|
|
62a8d2 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
62a8d2 |
|
|
|
62a8d2 |
%description
|
|
|
62a8d2 |
%summary.
|
|
|
62a8d2 |
|
|
|
62a8d2 |
%prep
|
|
|
62a8d2 |
%setup -q -n package
|
|
|
62a8d2 |
|
|
|
62a8d2 |
%build
|
|
|
62a8d2 |
#nothing to do
|
|
|
62a8d2 |
|
|
|
62a8d2 |
%install
|
|
|
62a8d2 |
rm -rf %buildroot
|
|
|
62a8d2 |
|
|
|
62a8d2 |
mkdir -p %{buildroot}%{nodejs_sitelib}/cookie-jar
|
|
|
62a8d2 |
cp -p index.js jar.js package.json %{buildroot}%{nodejs_sitelib}/cookie-jar
|
|
|
62a8d2 |
|
|
|
62a8d2 |
%nodejs_symlink_deps
|
|
|
62a8d2 |
|
|
|
62a8d2 |
%check
|
|
|
62a8d2 |
%{?scl:scl enable %{scl} "}
|
|
|
62a8d2 |
%{__nodejs} tests/run.js
|
|
|
62a8d2 |
%{?scl:"}
|
|
|
62a8d2 |
|
|
|
62a8d2 |
%clean
|
|
|
62a8d2 |
rm -rf %buildroot
|
|
|
62a8d2 |
|
|
|
62a8d2 |
%files
|
|
|
62a8d2 |
%defattr(-,root,root,-)
|
|
|
62a8d2 |
%{nodejs_sitelib}/cookie-jar
|
|
|
62a8d2 |
|
|
|
62a8d2 |
%changelog
|
|
|
62a8d2 |
* Fri Jan 10 2014 Tomas Hrcka <thrcka@redhat.com> - 1:0.3.0-3.2
|
|
|
62a8d2 |
- Obsolete tobie-cookie with scl_prefix
|
|
|
62a8d2 |
|
|
|
62a8d2 |
* Thu Nov 07 2013 Tomas Hrcka <thrcka@redhat.com> - 1:0.3.0-2.1
|
|
|
62a8d2 |
- Software collections support
|
|
|
62a8d2 |
|
|
|
62a8d2 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.3.0-2
|
|
|
62a8d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
62a8d2 |
|
|
|
62a8d2 |
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.3.0-1
|
|
|
62a8d2 |
- new upstream release 0.3.0
|
|
|
62a8d2 |
|
|
|
62a8d2 |
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.2.0-6
|
|
|
62a8d2 |
- restrict to compatible arches
|
|
|
62a8d2 |
|
|
|
62a8d2 |
* Tue Apr 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.2.0-5
|
|
|
62a8d2 |
- run tests
|
|
|
62a8d2 |
|
|
|
62a8d2 |
* Fri Apr 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.2.0-4
|
|
|
62a8d2 |
- fix Obsoletes as sugessted during rename review
|
|
|
62a8d2 |
|
|
|
62a8d2 |
* Wed Apr 03 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.2.0-3
|
|
|
62a8d2 |
- rename to nodejs-cookie-jar
|
|
|
62a8d2 |
|
|
|
62a8d2 |
* Wed Apr 03 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.2.1-1
|
|
|
62a8d2 |
- now unbundled from tobi, called cookie-jar upstream
|
|
|
62a8d2 |
|
|
|
62a8d2 |
* Sat Jan 26 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.2-2
|
|
|
62a8d2 |
- add missing build section
|
|
|
62a8d2 |
|
|
|
62a8d2 |
* Tue Jan 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.2-1
|
|
|
62a8d2 |
- initial package
|