diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3949942 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/spdx-exceptions-1.0.4.tgz diff --git a/.rh-nodejs6-nodejs-spdx-exceptions.metadata b/.rh-nodejs6-nodejs-spdx-exceptions.metadata new file mode 100644 index 0000000..fc69692 --- /dev/null +++ b/.rh-nodejs6-nodejs-spdx-exceptions.metadata @@ -0,0 +1 @@ +220b84239119ae9045a892db81a83f4ce16f80fd SOURCES/spdx-exceptions-1.0.4.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..ce6b9c4 --- /dev/null +++ b/SOURCES/LICENSE @@ -0,0 +1,13 @@ +CC-BY-3.0 LICENSE + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF +THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). +THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. +ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS +LICENSE OR COPYRIGHT LAW IS PROHIBITED. + +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, +YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. +TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, +THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN +CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. diff --git a/SPECS/nodejs-spdx-exceptions.spec b/SPECS/nodejs-spdx-exceptions.spec new file mode 100644 index 0000000..fc9558e --- /dev/null +++ b/SPECS/nodejs-spdx-exceptions.spec @@ -0,0 +1,73 @@ +%{?scl:%scl_package nodejs-spdx-exceptions} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-spdx-exceptions + +%global npm_name spdx-exceptions +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-spdx-exceptions +Version: 1.0.4 +Release: 3%{?dist} +Summary: List of SPDX standard license exceptions +Url: https://github.com/kemitchell/spdx-exceptions.json#readme +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +Source1: https://raw.githubusercontent.com/kasicka/spdx-exceptions.json/c4d5127e472c035588c8d8707f8d08419fe6a431/LICENSE +License: CC-BY-3.0 + +BuildArch: noarch + +%if 0%{?fedora} >= 19 +ExclusiveArch: %{nodejs_arches} noarch +%else +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +%endif + +BuildRequires: %{?scl_prefix}nodejs-devel + +%if 0%{?enable_tests} +%endif + +%description +list of SPDX standard license exceptions + +%prep +%setup -q -n package + +cp -p %{SOURCE1} . + +rm -rf node_modules + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr package.json index.json \ +%{buildroot}%{nodejs_sitelib}/%{npm_name} + +%{nodejs_symlink_deps} + +%if 0%{?enable_tests} + +%check +%{nodejs_symlink_deps} --check + +%endif + +%files +%{nodejs_sitelib}/spdx-exceptions + +%doc README.md LICENSE + +%changelog +* Thu Jun 09 2016 Zuzana Svetlikova - 1.0.4-3 +- Resolves: rhbz#1334856 , fixes wrong license + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.4-2 +- rebuilt + +* Mon Nov 23 2015 Tomas Hrcka - 1.0.4-1 +- Initial build