Blame SPECS/nodejs-text-table.spec

9b197e
%{?scl:%scl_package nodejs-text-table}
9b197e
%{!?scl:%global pkg_name %{name}}
9b197e
9b197e
# spec file for package nodejs-nodejs-text-table_0.2.0
9b197e
9b197e
%global npmname text-table
9b197e
%{?nodejs_find_provides_and_requires}
9b197e
9b197e
Name:           %{?scl_prefix}nodejs-text-table
9b197e
Version:        0.2.0
cba222
Release:        4%{?dist}
9b197e
Summary:        Borderless text tables with alignment
9b197e
Url:            https://github.com/substack/text-table
9b197e
Source0:        http://registry.npmjs.org/text-table/-/text-table-%{version}.tgz
9b197e
License:        MIT
9b197e
9b197e
BuildArch:      noarch
9b197e
9b197e
%if 0%{?fedora} >= 19
9b197e
ExclusiveArch:  %{nodejs_arches} noarch
9b197e
%else
cba222
ExclusiveArch:  %{nodejs_arches} noarch
9b197e
%endif
9b197e
9b197e
BuildRequires:  %{?scl_prefix}nodejs-devel
9b197e
9b197e
# cyclic? BuildRequires: %{?scl_prefix}npm(cli-color@0.2.3)
9b197e
# cyclic? BuildRequires: %{?scl_prefix}npm(tap@0.4.0)
9b197e
# cyclic? BuildRequires: %{?scl_prefix}npm(tape@1.0.2)
9b197e
9b197e
%description
9b197e
Borderless text tables with alignment
9b197e
9b197e
%prep
9b197e
%setup -q -n package
9b197e
9b197e
%build
9b197e
#nothing to do
9b197e
9b197e
%install
9b197e
mkdir -p %{buildroot}%{nodejs_sitelib}/text-table
9b197e
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/text-table
9b197e
%nodejs_symlink_deps
9b197e
9b197e
%files
9b197e
%{nodejs_sitelib}/text-table
9b197e
%doc LICENSE readme.markdown
9b197e
9b197e
%changelog
cba222
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.2.0-4
cba222
- Resolves: RHBZ#1543198, rebuild for multiarch
cba222
9b197e
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.2.0-3
9b197e
- Rebuilt with new metapackage
9b197e
- add missing BuildArch and ExclusiveArch
9b197e
9b197e
* Wed Feb 12 2014 Tomas Hrcka <thrcka@redhat.com>
9b197e
- Initial package build
9b197e