From adbf0725ca1dc1ea0a30229e7bfaed1aca83d5bc Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 24 2017 08:59:15 +0000 Subject: import rh-nodejs8-nodejs-semver-5.3.0-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..edf0367 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/semver-5.3.0.tgz diff --git a/.rh-nodejs8-nodejs-semver.metadata b/.rh-nodejs8-nodejs-semver.metadata new file mode 100644 index 0000000..d87ab11 --- /dev/null +++ b/.rh-nodejs8-nodejs-semver.metadata @@ -0,0 +1 @@ +9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f SOURCES/semver-5.3.0.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-semver.spec b/SPECS/nodejs-semver.spec new file mode 100644 index 0000000..b51318c --- /dev/null +++ b/SPECS/nodejs-semver.spec @@ -0,0 +1,115 @@ +%{?scl:%scl_package nodejs-semver} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-semver +Version: 5.3.0 +Release: 2%{?dist} +Summary: Semantic versioner for npm +License: ISC +URL: https://github.com/isaacs/node-semver +Source0: http://registry.npmjs.org/semver/-/semver-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +The semantic version comparison library for the Node.js package manager (npm). + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/semver +cp -pr bin package.json semver.js %{buildroot}%{nodejs_sitelib}/semver + +mkdir -p %{buildroot}%{_bindir} +ln -sf ../lib/node_modules/semver/bin/semver %{buildroot}%{_bindir} + +%nodejs_symlink_deps + +%files +%{nodejs_sitelib}/semver +%{_bindir}/semver +%doc README.md LICENSE + +%changelog +* Mon Jul 03 2017 Zuzana Svetlikova - 5.3.0-2 +- rh-nodejs8 rebuild + +* Thu Jan 05 2017 Zuzana Svetlikova - 5.3.0-1 +- Updated with script + +* Thu Jun 09 2016 Zuzana Svetlikova - 5.1.0-2 +- Resolves: rhbz#1334856 , fixes wrong license + +* Wed Feb 17 2016 Tomas Hrcka - 5.1.0-1 +- Rebase to latest upstream + +* Mon Nov 30 2015 Tomas Hrcka - 5.0.3-1 +- Rebase to latest upstream + +* Thu Jan 08 2015 Tomas Hrcka - 2.3.0-1 +- New upstream release + +* Tue Feb 04 2014 Tomas Hrcka - 2.1.0-3 +- Upsteram license changed from MIT to BSD + +* Thu Oct 17 2013 Tomas Hrcka - 2.1.0-2 +- replace provides and requires with macro + +* Tue Jul 30 2013 T.C. Hollingsworth - 2.1.0-1 +- new upstream release 2.1.0 + +* Fri Jul 12 2013 T.C. Hollingsworth - 2.0.10-1 +- new upstream release 2.0.10 + +* Sun Jun 23 2013 T.C. Hollingsworth - 2.0.7-1 +- new upstream release 2.0.7 + +* Sat Jun 22 2013 T.C. Hollingsworth - 1.1.4-3 +- restrict to compatible arches + +* Mon Apr 15 2013 T.C. Hollingsworth - 1.1.4-2 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 1.1.4-2 +- Add support for software collections + +* Wed Mar 13 2013 T.C. Hollingsworth - 1.1.4-1 +- new upstream release 1.1.4 + +* Sat Feb 09 2013 T.C. Hollingsworth - 1.1.3-1 +- new upstream release 1.1.3 + +* Thu Jan 10 2013 T.C. Hollingsworth - 1.1.2-1 +- new upstream release 1.1.2 + +* Tue Jan 08 2013 T.C. Hollingsworth - 1.1.1-2 +- add missing build section + +* Mon Dec 31 2012 T.C. Hollingsworth - 1.1.1-1 +- new upstream release 1.1.1 +- clean up for submission + +* Fri Apr 27 2012 T.C. Hollingsworth - 1.0.13-3 +- guard Requires for F17 automatic depedency generation + +* Sat Jan 21 2012 T.C. Hollingsworth - 1.0.13-2 +- missing Group field for EL5 + +* Sat Jan 21 2012 T.C. Hollingsworth - 1.0.13-1 +- new upstream release 1.0.13 + +* Thu Nov 17 2011 T.C. Hollingsworth - 1.0.11-1 +- new upstream release 1.0.11 + +* Tue Oct 25 2011 T.C. Hollingsworth - 1.0.10-1 +- new upstream release + +* Mon Aug 22 2011 T.C. Hollingsworth - 1.0.9-1 +- initial package