diff --git a/.gitignore b/.gitignore index eb27a2e..38c615b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /npm-user-validate-0.0.1.tgz /npm-user-validate-0.0.3.tgz +/npm-user-validate-0.1.2.tgz diff --git a/nodejs-npm-user-validate.spec b/nodejs-npm-user-validate.spec index 1105ca2..6445ad1 100644 --- a/nodejs-npm-user-validate.spec +++ b/nodejs-npm-user-validate.spec @@ -1,52 +1,55 @@ %{?nodejs_find_provides_and_requires} Name: nodejs-npm-user-validate -Version: 0.0.3 -Release: 4%{?dist} +Version: 0.1.2 +Release: 1%{?dist} Summary: Username, password, and e-mail validation for the npm registry -BuildArch: noarch -ExclusiveArch: %{nodejs_arches} noarch Group: Development/Libraries License: BSD URL: https://github.com/robertkowalski/npm-user-validate Source0: http://registry.npmjs.org/npm-user-validate/-/npm-user-validate-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: nodejs-packaging -BuildRequires: nodejs-devel BuildRequires: npm(tap) %description This library validates usernames, passwords, and e-mail addresses to the standards required by the npm registry. + %prep %setup -q -n package + %build #nothing to do -%install -rm -rf %buildroot +%install mkdir -p %{buildroot}%{nodejs_sitelib}/npm-user-validate -cp -pr npm-user-validate.js package.json %{buildroot}%{nodejs_sitelib}/npm-user-validate - +cp -pr package.json npm-user-validate.js %{buildroot}%{nodejs_sitelib}/npm-user-validate %nodejs_symlink_deps + %check %nodejs_symlink_deps --check %tap test/*.js -%clean -rm -rf %buildroot %files -%defattr(-,root,root,-) +%doc README.md +%license LICENSE %{nodejs_sitelib}/npm-user-validate -%doc README.md LICENSE + %changelog +* Sun Jan 17 2016 Tom Hughes - 0.1.2-1 +- Update to 0.1.2 upstream release + * Wed Jun 17 2015 Fedora Release Engineering - 0.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 85119cb..8232b20 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -a86f2a733491e29cbd5f48f412bcba0a npm-user-validate-0.0.1.tgz -a9c0bd52652e2518f61a088486f31a12 npm-user-validate-0.0.3.tgz +068b31a810e88130dfca588126c5d8d2 npm-user-validate-0.1.2.tgz