Blame SPECS/nodejs-config-chain.spec

9c4560
%{?scl:%scl_package nodejs-config-chain}
9c4560
%{!?scl:%global pkg_name %{name}}
9c4560
9c4560
%{?nodejs_find_provides_and_requires}
9c4560
9c4560
Name:           %{?scl_prefix}nodejs-config-chain
9c4560
Version:        1.1.9
6416dd
Release:        4%{?dist}
9c4560
Summary:        Handle configuration once and for all
9c4560
BuildArch:      noarch
9c4560
ExclusiveArch: %{nodejs_arches} noarch
9c4560
License:        MIT
9c4560
URL:            https://github.com/dominictarr/config-chain
9c4560
Source0:        http://registry.npmjs.org/config-chain/-/config-chain-%{version}.tgz
9c4560
BuildRequires:  %{?scl_prefix}nodejs-devel
9c4560
9c4560
%description
9c4560
Use this module to load all your configurations.
9c4560
9c4560
%prep
9c4560
%setup -q -n package
9c4560
9c4560
%build
9c4560
#nothing to do
9c4560
9c4560
%install
9c4560
mkdir -p %{buildroot}%{nodejs_sitelib}/config-chain
9c4560
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/config-chain
9c4560
9c4560
#fix permissions on non-executable main javascript code file
9c4560
chmod 0644 %{buildroot}%{nodejs_sitelib}/config-chain/index.js
9c4560
9c4560
%nodejs_symlink_deps
9c4560
9c4560
%files
9c4560
%{nodejs_sitelib}/config-chain
9c4560
%doc LICENCE readme.markdown
9c4560
9c4560
%changelog
6416dd
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.9-4
6416dd
- Resolves: RHBZ#1543198, rebuild for multiarch
6416dd
9c4560
* Mon Jan 16 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.9-3
9c4560
- Clean up
9c4560
9c4560
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.9-2
9c4560
- rebuilt
9c4560
9c4560
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 1.1.9-1
9c4560
- New upsteram release
9c4560
9c4560
* Tue Mar 04 2014 Tomas Hrcka <thrcka@redhat.com> - 1.1.8-2
9c4560
- Add missing nodejs_symlink_deps macro
9c4560
9c4560
* Thu Jan 16 2014 Tomas Hrcka <thrcka@redhat.com> - 1.1.8-1
9c4560
- New upstream release 1.1.8
9c4560
9c4560
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 1.1.7-2
9c4560
- replace provides and requires with macro
9c4560
9c4560
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.7-1
9c4560
- new upstream release 1.1.7
9c4560
9c4560
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.5-3
9c4560
- restrict to compatible arches
9c4560
9c4560
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.5-2
9c4560
- add macro for EPEL6 dependency generation
9c4560
9c4560
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.5-2
9c4560
- Add support for software collections
9c4560
9c4560
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.5-1
9c4560
- new upstream release 1.1.5
9c4560
9c4560
* Thu Jan 17 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.3-3
9c4560
- fix permissions
9c4560
9c4560
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.3-2
9c4560
- add missing build section
9c4560
9c4560
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.3-1
9c4560
- initial package generated by npm2rpm