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

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