Blame SPECS/nodejs-config-chain.spec

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