Blame SPECS/nodejs-oauth-sign.spec

4a1d80
%{?scl:%scl_package nodejs-oauth-sign}
4a1d80
%{!?scl:%global pkg_name %{name}}
4a1d80
%global enable_tests 0
4a1d80
%{?nodejs_find_provides_and_requires}
4a1d80
4a1d80
Name:       %{?scl_prefix}nodejs-oauth-sign
4a1d80
Version:    0.8.1
56b0de
Release:    2%{?dist}
4a1d80
Summary:    OAuth1 signing for Node.js
4a1d80
# Apache 2.0 License added upstream, will appear in next release
4a1d80
# https://github.com/mikeal/oauth-sign/blob/master/LICENSE
4a1d80
License:    ASL 2.0
4a1d80
URL:        https://github.com/mikeal/oauth-sign
4a1d80
Source0:    http://registry.npmjs.org/oauth-sign/-/oauth-sign-%{version}.tgz
4a1d80
BuildArch:  noarch
4a1d80
ExclusiveArch: %{nodejs_arches} noarch
4a1d80
4a1d80
BuildRequires:  %{?scl_prefix}nodejs-devel
4a1d80
4a1d80
%if 0%{enable_tests}
4a1d80
BuildRequires:    %{?scl_prefix}npm(
4a1d80
%endif
4a1d80
4a1d80
%description
4a1d80
%{summary}.
4a1d80
4a1d80
%prep
4a1d80
%setup -q -n package
4a1d80
4a1d80
%build
4a1d80
#nothing to do
4a1d80
4a1d80
%install
4a1d80
mkdir -p %{buildroot}%{nodejs_sitelib}/oauth-sign
4a1d80
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/oauth-sign
4a1d80
4a1d80
%nodejs_symlink_deps
4a1d80
4a1d80
%if 0%{enable_tests}
4a1d80
%check
4a1d80
%nodejs_symlink_deps --check
4a1d80
4a1d80
%endif
4a1d80
4a1d80
#test requires network
4a1d80
#%%check
4a1d80
#%%{__nodejs} test.js
4a1d80
4a1d80
%files
4a1d80
%{nodejs_sitelib}/oauth-sign
4a1d80
%doc README.md LICENSE
4a1d80
4a1d80
%changelog
56b0de
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.8.1-2
56b0de
- Resolves: RHBZ#1543198, rebuild for multiarch
56b0de
4a1d80
* Wed Sep 07 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.8.1-1
4a1d80
- Updated with script
4a1d80
4a1d80
* Thu Jun 09 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.3.0-4
4a1d80
- Resolves: rhbz#1334856 , fixes wrong license
4a1d80
4a1d80
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.3.0-3
4a1d80
- rebuilt
4a1d80
4a1d80
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.3.0-2
4a1d80
- replace provides and requires with macro
4a1d80
4a1d80
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.0-1
4a1d80
- new upstream release 0.3.0
4a1d80
4a1d80
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-3
4a1d80
- restrict to compatible arches
4a1d80
4a1d80
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-2
4a1d80
- add macro for EPEL6 dependency generation
4a1d80
4a1d80
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.2.0-2
4a1d80
- Add support for software collections
4a1d80
4a1d80
* Fri Apr 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-1
4a1d80
- initial package