diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7ff462a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/which-1.2.10.tgz diff --git a/.rh-nodejs6-nodejs-which.metadata b/.rh-nodejs6-nodejs-which.metadata new file mode 100644 index 0000000..40f49db --- /dev/null +++ b/.rh-nodejs6-nodejs-which.metadata @@ -0,0 +1 @@ +91cd9bd0751322411b659b40f054b21de957ab2d SOURCES/which-1.2.10.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-which.spec b/SPECS/nodejs-which.spec new file mode 100644 index 0000000..9e6938e --- /dev/null +++ b/SPECS/nodejs-which.spec @@ -0,0 +1,96 @@ +%{?scl:%scl_package nodejs-which} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + + +Name: %{?scl_prefix}nodejs-which +Version: 1.2.10 +Release: 1%{?dist} +Summary: A JavaScript implementation of the 'which' command +License: ISC +URL: https://github.com/isaacs/node-which +Source0: http://registry.npmjs.org/which/-/which-%{version}.tgz +BuildArch: noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +%{summary}. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/which +cp -pr bin which.js package.json %{buildroot}%{nodejs_sitelib}/which + +mkdir -p %{buildroot}%{_bindir} +ln -sf ../lib/node_modules/which/bin/which %{buildroot}%{_bindir}/which-nodejs + +%nodejs_symlink_deps + +%files +%{nodejs_sitelib}/which +%{_bindir}/which-nodejs +%doc README.md LICENSE + +%changelog +* Thu Sep 15 2016 Zuzana Svetlikova - 1.2.10-1 +- Updated with script + +* Thu Jun 09 2016 Zuzana Svetlikova - 1.2.0-5 +- Resolves: rhbz#1334856 , fixes wrong license + +* Tue Feb 16 2016 Zuzana Svetlikova - 1.2.0-4 +- Use macro in -runtime dependency + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.2.0-3 +- Add %%nodejs_fixdep macro + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.2.0-2 +- Rebuilt with updated metapackage + +* Mon Nov 30 2015 Tomas Hrcka - 1.0.5-1 +- New upsteram release + +* Fri May 3 2013 Stanislav Ochotnicky - 1.0.5-7 +- Fix broken symlink in bindir + +* Mon Apr 15 2013 T.C. Hollingsworth - 1.0.5-6 +- add macro for EPEL6 dependency generation + +* Thu Apr 11 2013 Stanislav Ochotnicky - 1.0.5-6 +- Add support for software collections + +* Thu Feb 14 2013 Fedora Release Engineering - 1.0.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Jan 15 2013 T.C. Hollingsworth - 1.0.5-4 +- fix symlink to executable +- actually install the executable! +- rename executable to which-nodejs + +* Tue Jan 08 2013 T.C. Hollingsworth - 1.0.5-3 +- add missing build section + +* Mon Dec 31 2012 T.C. Hollingsworth - 1.0.5-2 +- Clean up for submission + +* Sun Mar 04 2012 T.C. Hollingsworth - 1.0.5-1 +- new upstream release 1.0.5 + +* Fri Feb 10 2012 T.C. Hollingsworth - 1.0.3-1 +- new upstream release 1.0.3 + +* Sun Dec 18 2011 T.C. Hollingsworth - 1.0.2-2 +- add Group to make EL5 happy + +* Tue Oct 25 2011 T.C. Hollingsworth - 1.0.2-1 +- new upstream release + +* Tue Aug 23 2011 T.C. Hollingsworth - 1.0.0-1 +- initial package