Blame SPECS/nodejs-path-is-inside.spec

de018c
%{?scl:%scl_package nodejs-path-is-inside}
de018c
%{!?scl:%global pkg_name %{name}}
de018c
de018c
# spec file for package nodejs-nodejs-path-is-inside_1.0.0
de018c
de018c
%global npmname path-is-inside
de018c
%{?nodejs_find_provides_and_requires}
de018c
de018c
Name:           %{?scl_prefix}nodejs-path-is-inside
de018c
Version:        1.0.1
03c913
Release:        2%{?dist}
de018c
Summary:        Tests whether one path is inside another path
de018c
Url:            https://github.com/domenic/path-is-inside
de018c
Source0:        http://registry.npmjs.org/%{npmname}/-/%{npmname}-%{version}.tgz
de018c
License:        WTFPL
de018c
de018c
BuildArch:      noarch
de018c
de018c
%if 0%{?fedora} >= 19
de018c
ExclusiveArch: %{nodejs_arches} noarch
de018c
%else
03c913
ExclusiveArch: %{nodejs_arches} noarch
de018c
%endif
de018c
de018c
BuildRequires:  %{?scl_prefix}nodejs-devel
de018c
de018c
%description
de018c
Tests whether one path is inside another path
de018c
de018c
%prep
de018c
%setup -q -n package
de018c
de018c
%build
de018c
#nothing to do
de018c
de018c
%install
de018c
mkdir -p %{buildroot}%{nodejs_sitelib}/path-is-inside
de018c
cp -pr package.json lib/ %{buildroot}%{nodejs_sitelib}/path-is-inside
de018c
%nodejs_symlink_deps
de018c
de018c
%files
de018c
%{nodejs_sitelib}/path-is-inside
de018c
%doc LICENSE.txt README.md
de018c
de018c
%changelog
03c913
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-2
03c913
- Resolves: RHBZ#1543198, rebuild for multiarch
03c913
de018c
* Thu Feb 18 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-1
de018c
- New upstream release
de018c
- add BuildArch and ExclusiveArch
de018c
de018c
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.0-2
de018c
- Rebuilt with new metapackage
de018c
de018c
* Wed Feb 12 2014 Tomas Hrcka <thrcka@redhat.com> - 1.0.0-1
de018c
- Initial build
de018c