From 80fc9e961ad03ddb953bd2fa5eb5b6090ab02e75 Mon Sep 17 00:00:00 2001 From: Piotr Popieluch Date: Feb 07 2016 20:03:36 +0000 Subject: cleanup spec --- diff --git a/nodejs-opts.spec b/nodejs-opts.spec index 416206a..94533eb 100644 --- a/nodejs-opts.spec +++ b/nodejs-opts.spec @@ -2,20 +2,18 @@ Name: nodejs-opts Version: 1.2.2 -Release: 9%{?dist} -Summary: Javascript Command Line Options for Node.js +Release: 10%{?dist} +Summary: JavaScript Command Line Options for Node.js License: BSD -Group: System Environment/Libraries -URL: http://joey.mazzarelli.com/2010/04/09/javascript-command-line-options-for-node-js/ -Source0: http://registry.npmjs.org/opts/-/opts-1.2.2.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +URL: https://www.npmjs.com/package/opts +Source0: https://registry.npmjs.org/opts/-/opts-1.2.2.tgz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch -BuildRequires: nodejs-devel +BuildRequires: nodejs-packaging %description -js-opts is a library for parsing command line options in javascript. +js-opts is a library for parsing command line options in JavaScript. %prep %setup -q -n package @@ -24,22 +22,20 @@ js-opts is a library for parsing command line options in javascript. #nothing to do %install -rm -rf %{buildroot} - mkdir -p %{buildroot}%{nodejs_sitelib}/opts cp -pr js package.json %{buildroot}%{nodejs_sitelib}/opts %nodejs_symlink_deps -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) %{nodejs_sitelib}/opts -%doc LICENSE README examples +%doc README examples +%license LICENSE %changelog +* Sun Feb 07 2016 Piotr Popieluch - 1.2.2-10 +- cleanup spec + * Thu Feb 04 2016 Fedora Release Engineering - 1.2.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild