diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..359bbdf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/config-chain-1.1.9.tgz diff --git a/.rh-nodejs6-nodejs-config-chain.metadata b/.rh-nodejs6-nodejs-config-chain.metadata new file mode 100644 index 0000000..ee4cd17 --- /dev/null +++ b/.rh-nodejs6-nodejs-config-chain.metadata @@ -0,0 +1 @@ +39ac7d4dca84faad926124c54cff25a53aa8bf6e SOURCES/config-chain-1.1.9.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/SPECS/nodejs-config-chain.spec b/SPECS/nodejs-config-chain.spec new file mode 100644 index 0000000..66ea178 --- /dev/null +++ b/SPECS/nodejs-config-chain.spec @@ -0,0 +1,80 @@ +%{?scl:%scl_package nodejs-config-chain} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-config-chain +Version: 1.1.9 +Release: 3%{?dist} +Summary: Handle configuration once and for all +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +License: MIT +URL: https://github.com/dominictarr/config-chain +Source0: http://registry.npmjs.org/config-chain/-/config-chain-%{version}.tgz +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +Use this module to load all your configurations. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/config-chain +cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/config-chain + +#fix permissions on non-executable main javascript code file +chmod 0644 %{buildroot}%{nodejs_sitelib}/config-chain/index.js + +%nodejs_symlink_deps + +%files +%{nodejs_sitelib}/config-chain +%doc LICENCE readme.markdown + +%changelog +* Mon Jan 16 2017 Zuzana Svetlikova - 1.1.9-3 +- Clean up + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.1.9-2 +- rebuilt + +* Mon Nov 30 2015 Tomas Hrcka - 1.1.9-1 +- New upsteram release + +* Tue Mar 04 2014 Tomas Hrcka - 1.1.8-2 +- Add missing nodejs_symlink_deps macro + +* Thu Jan 16 2014 Tomas Hrcka - 1.1.8-1 +- New upstream release 1.1.8 + +* Thu Oct 17 2013 Tomas Hrcka - 1.1.7-2 +- replace provides and requires with macro + +* Sat Jun 22 2013 T.C. Hollingsworth - 1.1.7-1 +- new upstream release 1.1.7 + +* Sat Jun 22 2013 T.C. Hollingsworth - 1.1.5-3 +- restrict to compatible arches + +* Mon Apr 15 2013 T.C. Hollingsworth - 1.1.5-2 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 1.1.5-2 +- Add support for software collections + +* Sat Feb 09 2013 T.C. Hollingsworth - 1.1.5-1 +- new upstream release 1.1.5 + +* Thu Jan 17 2013 T.C. Hollingsworth - 1.1.3-3 +- fix permissions + +* Tue Jan 08 2013 T.C. Hollingsworth - 1.1.3-2 +- add missing build section + +* Mon Dec 31 2012 T.C. Hollingsworth - 1.1.3-1 +- initial package generated by npm2rpm