Blame SPECS/nodejs-lockfile.spec

5e5755
%{?scl:%scl_package nodejs-lockfile}
5e5755
%{!?scl:%global pkg_name %{name}}
5e5755
%{?nodejs_find_provides_and_requires}
5e5755
5e5755
Name:           %{?scl_prefix}nodejs-lockfile
5e5755
Version:        0.4.2
5e5755
Release:        2%{?dist}
5e5755
Summary:        A very polite lock file utility
5e5755
5e5755
Group:          System Environment/Libraries
5e5755
License:        BSD
5e5755
URL:            https://github.com/isaacs/lockfile
5e5755
Source0:        https://registry.npmjs.org/lockfile/-/lockfile-%{version}.tgz
5e5755
BuildRoot:      %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
5e5755
5e5755
BuildArch:  noarch
5e5755
%if 0%{?fedora} >= 19
5e5755
ExclusiveArch: %{nodejs_arches} noarch
5e5755
%else
5e5755
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
5e5755
%endif
5e5755
5e5755
BuildRequires:  %{?scl_prefix}nodejs-devel
5e5755
5e5755
%description
5e5755
A very polite lock file utility, which endeavors to not litter, and to wait
5e5755
patiently for others.
5e5755
5e5755
%prep
5e5755
%setup -q -n package
5e5755
5e5755
%build
5e5755
#nothing to do
5e5755
5e5755
%install
5e5755
rm -rf %buildroot
5e5755
mkdir -p %{buildroot}%{nodejs_sitelib}/lockfile
5e5755
cp -pr package.json lockfile.js test %{buildroot}%{nodejs_sitelib}/lockfile
5e5755
5e5755
%nodejs_symlink_deps
5e5755
5e5755
%clean
5e5755
rm -rf %buildroot
5e5755
5e5755
%files
5e5755
%defattr(-,root,root,-)
5e5755
%{nodejs_sitelib}/lockfile
5e5755
%doc LICENSE README.md
5e5755
5e5755
%changelog
5e5755
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.4.2-2
5e5755
- replace provides and requires with macro
5e5755
5e5755
* Sat Sep 07 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.4.2-1
5e5755
- update to upstream release 0.4.2
5e5755
- add ExclusiveArch logic
5e5755
5e5755
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
5e5755
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5e5755
5e5755
* Fri Jul 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.4.0-1
5e5755
- new upstream release 0.4.0
5e5755
5e5755
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.4-1
5e5755
- new upstream release 0.3.4
5e5755
5e5755
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.0-3
5e5755
- restrict to compatible arches
5e5755
5e5755
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.0-2
5e5755
- add macro for EPEL6 dependency generation
5e5755
5e5755
* Thu Apr 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.3.0-2
5e5755
- Add support for software collections
5e5755
5e5755
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.0-1
5e5755
- new upstream release 0.3.0
5e5755
5e5755
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.1-2
5e5755
- add missing build section
5e5755
5e5755
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.1-1
5e5755
- initial package generated by npm2rpm