From a03f0c726064e49c9e84783108d53e25d4bf89b7 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 09:40:35 +0000 Subject: import rh-nodejs6-nodejs-extsprintf-1.3.0-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ac64df1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/extsprintf-1.3.0.tgz diff --git a/.rh-nodejs6-nodejs-extsprintf.metadata b/.rh-nodejs6-nodejs-extsprintf.metadata new file mode 100644 index 0000000..fa40529 --- /dev/null +++ b/.rh-nodejs6-nodejs-extsprintf.metadata @@ -0,0 +1 @@ +96918440e3041a7a414f8c52e3c574eb3c3e1e05 SOURCES/extsprintf-1.3.0.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +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-extsprintf.spec b/SPECS/nodejs-extsprintf.spec new file mode 100644 index 0000000..56e5275 --- /dev/null +++ b/SPECS/nodejs-extsprintf.spec @@ -0,0 +1,59 @@ +%{?scl:%scl_package nodejs-%{srcname}} +%{!?scl:%global pkg_name %{name}} + +# needed for building on el6 +%{?nodejs_find_provides_and_requires} + +%global srcname extsprintf + +Name: %{?scl_prefix}nodejs-%{srcname} +Version: 1.3.0 +Release: 3%{?dist} +Summary: Extended POSIX-style sprintf +License: MIT +URL: https://github.com/davepacheco/node-extsprintf +Source0: https://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz + +BuildArch: noarch + +%if 0%{?rhel} == 6 +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +%else +ExclusiveArch: %{nodejs_arches} noarch +%endif + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +%{summary}. + +%prep +%autosetup -n package +rm -rf node_modules + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname} + +cp -pr package.json lib/ \ + %{buildroot}%{nodejs_sitelib}/%{srcname} + +%nodejs_symlink_deps + +%files +%{!?_licensedir:%global license %doc} +%doc README.md +%license LICENSE +%{nodejs_sitelib}/%{srcname} + +%changelog +* Mon Jan 16 2017 Zuzana Svetlikova - 1.3.0-3 +- Rebuild for RHSCL + +* Thu Feb 04 2016 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sun Dec 06 2015 Piotr Popieluch - 1.3.0-1 +- Initial package \ No newline at end of file