pnemade pushed to nodejs-wrappy (master). "Use correct github source guidelines (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Apr 15 15:04:16 UTC 2015
>From 977067879a25b1328e127e2af98e7011252190d3 Mon Sep 17 00:00:00 2001
From: Parag Nemade <pnemade at redhat.com>
Date: Wed, 15 Apr 2015 20:34:02 +0530
Subject: Use correct github source guidelines
- Use correct module name directory
diff --git a/nodejs-wrappy.spec b/nodejs-wrappy.spec
index 1a5e7a9..7abf7ca 100644
--- a/nodejs-wrappy.spec
+++ b/nodejs-wrappy.spec
@@ -1,14 +1,16 @@
%{?nodejs_find_provides_and_requires}
%global enable_tests 1
+%global commit 006a8cbac6b99988315834c207896eed71fd069a
+%global module_name wrappy
Name: nodejs-wrappy
Version: 1.0.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Callback wrapping utility
License: ISC
URL: https://github.com/npm/wrappy
-Source: https://github.com/npm/wrappy/archive/v%{version}.tar.gz
+Source0: https://github.com/npm/wrappy/archive/%{commit}/wrappy-%{commit}.tar.gz
BuildArch: noarch
@@ -24,15 +26,15 @@ ExclusiveArch: %{nodejs_arches} noarch
Callback wrapping utility for node.js
%prep
-%setup -q -n wrappy-%{version}
+%setup -q -n %{module_name}-%{commit}
%build
#nothing to do
%install
-mkdir -p %{buildroot}%{nodejs_sitelib}/nodejs-wrappy
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
cp -pr wrappy.js package.json \
- %{buildroot}%{nodejs_sitelib}/nodejs-wrappy
+ %{buildroot}%{nodejs_sitelib}/%{module_name}
%{nodejs_symlink_deps}
@@ -45,10 +47,13 @@ tap test/*.js
%files
%doc README.md
%license LICENSE
-%{nodejs_sitelib}/nodejs-wrappy
-
+%{nodejs_sitelib}/%{module_name}
%changelog
+* Wed Apr 15 2015 Parag Nemade <pnemade AT redhat DOT com> - 1.0.1-3
+- Use correct github source guidelines
+- Use correct module name directory
+
* Sun Apr 12 2015 Parag Nemade <pnemade AT redhat DOT com> - 1.0.1-2
- Some spec cleanup to follow nodejs packaging guidelines
- Add missing macro in %%check
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/nodejs-wrappy.git/commit/?h=master&id=977067879a25b1328e127e2af98e7011252190d3
More information about the scm-commits
mailing list