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