From 5e57554d2fe624d957d7cb9a1093a3094b3f5200 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2014 08:32:58 +0000 Subject: import nodejs010-nodejs-lockfile-0.4.2-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0e17ab6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/lockfile-0.4.2.tgz diff --git a/.nodejs010-nodejs-lockfile.metadata b/.nodejs010-nodejs-lockfile.metadata new file mode 100644 index 0000000..1628641 --- /dev/null +++ b/.nodejs010-nodejs-lockfile.metadata @@ -0,0 +1 @@ +ab91f5d3745bc005ae4fa34d078910d1f2b9612d SOURCES/lockfile-0.4.2.tgz diff --git a/README.md b/README.md deleted file mode 100644 index ce46a88..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -\ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-lockfile.spec b/SPECS/nodejs-lockfile.spec new file mode 100644 index 0000000..84cf031 --- /dev/null +++ b/SPECS/nodejs-lockfile.spec @@ -0,0 +1,83 @@ +%{?scl:%scl_package nodejs-lockfile} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-lockfile +Version: 0.4.2 +Release: 2%{?dist} +Summary: A very polite lock file utility + +Group: System Environment/Libraries +License: BSD +URL: https://github.com/isaacs/lockfile +Source0: https://registry.npmjs.org/lockfile/-/lockfile-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +%if 0%{?fedora} >= 19 +ExclusiveArch: %{nodejs_arches} noarch +%else +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +%endif + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +A very polite lock file utility, which endeavors to not litter, and to wait +patiently for others. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %buildroot +mkdir -p %{buildroot}%{nodejs_sitelib}/lockfile +cp -pr package.json lockfile.js test %{buildroot}%{nodejs_sitelib}/lockfile + +%nodejs_symlink_deps + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/lockfile +%doc LICENSE README.md + +%changelog +* Thu Oct 17 2013 Tomas Hrcka - 0.4.2-2 +- replace provides and requires with macro + +* Sat Sep 07 2013 Jamie Nguyen - 0.4.2-1 +- update to upstream release 0.4.2 +- add ExclusiveArch logic + +* Sat Aug 03 2013 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Jul 12 2013 T.C. Hollingsworth - 0.4.0-1 +- new upstream release 0.4.0 + +* Sun Jun 23 2013 T.C. Hollingsworth - 0.3.4-1 +- new upstream release 0.3.4 + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.3.0-3 +- restrict to compatible arches + +* Mon Apr 15 2013 T.C. Hollingsworth - 0.3.0-2 +- add macro for EPEL6 dependency generation + +* Thu Apr 11 2013 Stanislav Ochotnicky - 0.3.0-2 +- Add support for software collections + +* Sat Feb 09 2013 T.C. Hollingsworth - 0.3.0-1 +- new upstream release 0.3.0 + +* Tue Jan 08 2013 T.C. Hollingsworth - 0.2.1-2 +- add missing build section + +* Mon Dec 31 2012 T.C. Hollingsworth - 0.2.1-1 +- initial package generated by npm2rpm