From 271b908a14b5a28928880545dddd905db8293920 Mon Sep 17 00:00:00 2001 From: Piotr Popieluch Date: Feb 18 2017 13:01:14 +0000 Subject: Update to 1.0.1 --- diff --git a/.gitignore b/.gitignore index 6cdca2f..ff2c53d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /arrify-4576e94.tar.gz +/arrify-1.0.1.tar.gz diff --git a/nodejs-arrify.spec b/nodejs-arrify.spec index 7818101..3ee329e 100644 --- a/nodejs-arrify.spec +++ b/nodejs-arrify.spec @@ -1,18 +1,14 @@ -# Circular dependency on ava +# ava is not packaged yet %global enable_tests 0 %global srcname arrify -%global commit0 4576e944677c722c356480b17a6d709d34d0733c -%global gittag0 v1.0.0 -%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) - Name: nodejs-%{srcname} -Version: 1.0.0 -Release: 3%{?dist} +Version: 1.0.1 +Release: 1%{?dist} Summary: Convert a value to an array License: MIT URL: https://www.npmjs.com/package/%{srcname} -Source0: https://github.com/sindresorhus/%{srcname}/archive/%{commit0}.tar.gz#/%{srcname}-%{shortcommit0}.tar.gz +Source0: https://github.com/sindresorhus/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch @@ -27,8 +23,9 @@ BuildRequires: npm(ava) %description %{summary}. + %prep -%setup -qn %{srcname}-%{commit0} +%autosetup -n %{srcname}-%{version} rm -rf node_modules/ @@ -44,9 +41,10 @@ cp -pr index.js package.json \ %nodejs_symlink_deps -%if 0%{?enable_tests} %check %nodejs_symlink_deps --check +%{__nodejs} -e 'require("./")' +%if 0%{?enable_tests} node test.js %endif @@ -58,6 +56,9 @@ node test.js %changelog +* Sat Feb 18 2017 - 1.0.1-1 +- Update to 1.0.1 + * Fri Feb 10 2017 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 1f0eb0b..0547607 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4ef08b40da2e4e156fc96a6e99144d65 arrify-4576e94.tar.gz +SHA512 (arrify-1.0.1.tar.gz) = 8b30a38076de7d8446fbf221a7e8852c185dabad68680ae07aa02959ba08de385bec0fca41e1c7ed2c44e83e3f6145afbf6366c23a07a5dd3a70a60e7bb1c9af