From ab5bfed58dd6c6dcf9cfd4a6e3ecd9bac10db500 Mon Sep 17 00:00:00 2001 From: Piotr Popieluch Date: Feb 17 2017 11:35:57 +0000 Subject: Update to 2.0.0 --- diff --git a/.gitignore b/.gitignore index 3793b0e..746d642 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /dateformat-1.0.6-1.2.3.tgz /dateformat-1.0.12.tgz +/nodejs-dateformat-2.0.0.tar.gz diff --git a/nodejs-dateformat.spec b/nodejs-dateformat.spec index 96f86ce..8f7f614 100644 --- a/nodejs-dateformat.spec +++ b/nodejs-dateformat.spec @@ -1,25 +1,15 @@ -%{?nodejs_find_provides_and_requires} - %global enable_tests 1 Name: nodejs-dateformat -Version: 1.0.12 -Release: 4%{?dist} +Version: 2.0.0 +Release: 1%{?dist} Summary: Steven Levithan's excellent dateFormat() function for Node.js License: MIT -Group: System Environment/Libraries URL: https://github.com/felixge/node-dateformat -Source0: http://registry.npmjs.org/dateformat/-/dateformat-%{version}.tgz -# Upstream have been informed about missing LICENSE file. -# Pull request sent: https://github.com/felixge/node-dateformat/pull/14 -Source20: LICENSE +Source0: https://github.com/felixge/node-dateformat/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch -%if 0%{?fedora} >= 19 ExclusiveArch: %{nodejs_arches} noarch -%else -ExclusiveArch: %{ix86} x86_64 %{arm} noarch -%endif BuildRequires: nodejs-packaging %if 0%{?enable_tests} @@ -34,10 +24,8 @@ according to a user-specified mask. %prep -%setup -q -n package -cp -a %{SOURCE20} . +%autosetup -n node-dateformat-%{version} -%nodejs_fixdep get-stdin %build #nothing to do @@ -60,11 +48,15 @@ TZ=UTC %{_bindir}/mocha -R spec %files -%doc LICENSE Readme.md +%doc Readme.md +%license LICENSE %{nodejs_sitelib}/dateformat %changelog +* Fri Feb 17 2017 - 2.0.0-1 +- Update to 2.0.0 + * Fri Feb 10 2017 Fedora Release Engineering - 1.0.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index ad1f180..6d8e2c8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -45aaa5034823f10d87fb54ec460e76cb dateformat-1.0.12.tgz +SHA512 (nodejs-dateformat-2.0.0.tar.gz) = 7a668212db888299051fd118fb565b9d506fae90257f25d1146aad8e04c5490703d393e3b9fa4cea99c9f3a0558b426e63b94e8cb16d3e95b271c38d7c996459