tomh pushed to nodejs-type-detect (f22). "Update to 1.0.0 upstream release"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Apr 6 15:20:03 UTC 2015
>From b720e871e4c3ac3c48b0c04cab42c88b0847e821 Mon Sep 17 00:00:00 2001
From: Tom Hughes <tom at compton.nu>
Date: Mon, 6 Apr 2015 16:11:44 +0100
Subject: Update to 1.0.0 upstream release
diff --git a/.gitignore b/.gitignore
index 5fdcde1..3fabab4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/type-detect-0.1.2.tgz
/type-detect-tests-0.1.2.tar.bz2
+/type-detect-85e21afc69ec536f454eba562f036b4fe1b7f430.tar.gz
diff --git a/nodejs-type-detect.spec b/nodejs-type-detect.spec
index 8724411..c23d435 100644
--- a/nodejs-type-detect.spec
+++ b/nodejs-type-detect.spec
@@ -1,16 +1,13 @@
+%global commit 85e21afc69ec536f454eba562f036b4fe1b7f430
+
Name: nodejs-type-detect
-Version: 0.1.2
-Release: 2%{?dist}
+Version: 1.0.0
+Release: 1%{?dist}
Summary: Improved typeof detection for Node.js and the browser
License: MIT
URL: https://github.com/chaijs/type-detect
-Source0: http://registry.npmjs.org/type-detect/-/type-detect-%{version}.tgz
-# The test files are not included in the npm tarball.
-# Source1 is generated using Source10, which pulls from the upstream
-# version control repository.
-Source1: type-detect-tests-%{version}.tar.bz2
-Source10: type-detect-dl-tests.sh
+Source0: https://github.com/chaijs/type-detect/archive/%{commit}/type-detect-%{commit}.tar.gz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
@@ -24,8 +21,7 @@ Improved typeof detection for Node.js and the browser.
%prep
-%setup -q -n package
-%setup -T -D -a 1 -q -n package
+%setup -q -n type-detect-%{commit}
rm -rf node_modules
@@ -50,6 +46,10 @@ cp -pr package.json index.js lib %{buildroot}%{nodejs_sitelib}/type-detect
%changelog
+* Mon Apr 6 2015 Tom Hughes <tom at compton.nu> - 1.0.0-1
+- Update to 1.0.0 upstream release
+- Switch to using github as source so we get tests
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index a6b73a0..ca904e0 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-10e412d67ef0587fa50b3f39e4774acb type-detect-0.1.2.tgz
-450f8c903310c77cc75027742b3c6e68 type-detect-tests-0.1.2.tar.bz2
+a2912d367cbdf17c58756ad47a66ccbc type-detect-85e21afc69ec536f454eba562f036b4fe1b7f430.tar.gz
diff --git a/type-detect-dl-tests.sh b/type-detect-dl-tests.sh
deleted file mode 100755
index 15792f9..0000000
--- a/type-detect-dl-tests.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-tag=0.1.2
-
-set -e
-
-tmp=$(mktemp -d)
-
-trap cleanup EXIT
-cleanup() {
- set +e
- [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
-}
-
-unset CDPATH
-pwd=$(pwd)
-
-pushd "$tmp"
-git clone git://github.com/chaijs/type-detect.git
-cd type-detect
-git archive --prefix="test/" --format=tar tags/${tag}:test/ \
- | bzip2 > "$pwd"/type-detect-tests-${tag}.tar.bz2
-popd
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/nodejs-type-detect.git/commit/?h=f22&id=b720e871e4c3ac3c48b0c04cab42c88b0847e821
More information about the scm-commits
mailing list