From 9e8bad6642e8e3422774259be7da6a9057fd9ed0 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 16 2015 14:08:53 +0000 Subject: import nodejs010-nodejs-util-extend-1.0.1-4.el7 --- diff --git a/SOURCES/LICENSE b/SOURCES/LICENSE new file mode 100644 index 0000000..ee27ba4 --- /dev/null +++ b/SOURCES/LICENSE @@ -0,0 +1,18 @@ +This software is released under the MIT license: + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/SPECS/nodejs-util-extend.spec b/SPECS/nodejs-util-extend.spec index be0fd35..bd8f502 100644 --- a/SPECS/nodejs-util-extend.spec +++ b/SPECS/nodejs-util-extend.spec @@ -1,16 +1,17 @@ %{?scl:%scl_package nodejs-util-extend} %{!?scl:%global pkg_name %{name}} -%nodejs_find_provides_and_requires +%{?nodejs_find_provides_and_requires} + Name: %{?scl_prefix}nodejs-util-extend Version: 1.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Node's internal object extension function License: MIT -Group: Development/Languages/Other Url: https://github.com/isaacs/util-extend Source: http://registry.npmjs.org/util-extend/-/util-extend-%{version}.tgz -BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build +Source1: https://raw.githubusercontent.com/kasicka/util-extend/72ad112332507572d2c4dbe55f30b584a0d70878/LICENSE +# https://github.com/isaacs/util-extend/pull/7 BuildArch: noarch ExclusiveArch: %{ix86} x86_64 %{arm} noarch @@ -20,6 +21,8 @@ The object extending function used with Node.js. %prep %setup -q -n package +cp -p %{SOURCE1} . + %build %install @@ -28,13 +31,16 @@ cp -pr package.json extend.js \ %{buildroot}%{nodejs_sitelib}/util-extend/ %files -%defattr(-,root,root,-) %doc README.md +%license LICENSE %{nodejs_sitelib}/util-extend %changelog +* Mon Aug 10 2015 Zuzana Svetlikova - 1.0.1-4 +- Add license text + * Tue Jan 13 2015 Tomas Hrcka - 1.0.1-3 -- Remove undefined macro +- Remove undefined macro * Mon Jan 12 2015 Tomas Hrcka - 1.0.1-2 - Add dist macro