diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..680fe23 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/util-extend-1.0.1.tgz diff --git a/.rh-nodejs4-nodejs-util-extend.metadata b/.rh-nodejs4-nodejs-util-extend.metadata new file mode 100644 index 0000000..d810130 --- /dev/null +++ b/.rh-nodejs4-nodejs-util-extend.metadata @@ -0,0 +1 @@ +bb703b79480293ddcdcfb3c6a9fea20f483415bc SOURCES/util-extend-1.0.1.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet 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 new file mode 100644 index 0000000..dab853c --- /dev/null +++ b/SPECS/nodejs-util-extend.spec @@ -0,0 +1,70 @@ +%{?scl:%scl_package nodejs-util-extend} +%{!?scl:%global pkg_name %{name}} + +%global enable_tests 1 + +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-util-extend +Version: 1.0.1 +Release: 8%{?dist} +Summary: Node's internal object extension function +License: MIT +Url: https://github.com/isaacs/util-extend +Source: http://registry.npmjs.org/util-extend/-/util-extend-%{version}.tgz +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 +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +The object extending function used with Node.js. + +%prep +%setup -q -n package + +cp -p %{SOURCE1} . + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/util-extend +cp -pr package.json extend.js \ + %{buildroot}%{nodejs_sitelib}/util-extend/ + +%nodejs_symlink_deps + +%check +%{?scl:scl enable %{scl} "} +%nodejs_symlink_deps --check +%__nodejs test.js +%{?scl:"} + +%files +%doc README.md +%license LICENSE +%{nodejs_sitelib}/util-extend + +%changelog +* Tue Feb 16 2016 Tomas Hrcka - 1.0.1-8 +- Enable scl in %%check section + +* Wed Sep 30 2015 Zuzana Svetlikova - 1.0.1-6 +- Rebuilt + +* Thu Sep 17 2015 Zuzana Svetlikova - 1.0.1-5 +- Add %%check +- add missing BuildRequires + +* 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 + +* Mon Jan 12 2015 Tomas Hrcka - 1.0.1-2 +- Add dist macro + +* Tue Jan 06 2015 Tomas Hrcka - 1.0.1-1 +- Initial build