Blame SPECS/nodejs-normalize-git-url.spec

469559
%{?scl:%scl_package nodejs-normalize-git-url}
469559
%{!?scl:%global pkg_name %{name}}
469559
469559
# spec file for package nodejs-nodejs-normalize-git-url
469559
469559
%global npm_name normalize-git-url
469559
%{?nodejs_find_provides_and_requires}
469559
469559
%global enable_tests 0
469559
469559
Name:		%{?scl_prefix}nodejs-normalize-git-url
469559
Version:	3.0.1
469559
Release:	1%{?dist}
469559
Summary:	Normalizes Git URLs. For npm, but you can use it too.
469559
Url:		https://github.com/npm/normalize-git-url
469559
Source0:	https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
469559
License:	ISC
469559
469559
BuildArch:	noarch
469559
ExclusiveArch:	%{nodejs_arches} noarch
469559
469559
BuildRequires:	%{?scl_prefix}nodejs-devel
469559
469559
%if 0%{?enable_tests}
469559
BuildRequires:	%{?scl_prefix}npm(tap)
469559
%endif
469559
469559
%description
469559
Normalizes Git URLs. For npm, but you can use it too.
469559
469559
%prep
469559
%setup -q -n package
469559
469559
%build
469559
#nothing to do
469559
469559
%install
469559
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
469559
469559
cp -pr package.json normalize-git-url.js \
469559
	%{buildroot}%{nodejs_sitelib}/%{npm_name}
469559
469559
%{nodejs_symlink_deps}
469559
469559
%if 0%{?enable_tests}
469559
469559
%check
469559
%{nodejs_symlink_deps} --check
469559
tap test/*.js
469559
%endif
469559
469559
%files
469559
%{nodejs_sitelib}/normalize-git-url
469559
469559
%doc README.md
469559
%doc LICENSE
469559
469559
%changelog
469559
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 3.0.1-1
469559
- New upstream release
469559
469559
* Fri Nov 27 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.1-3
469559
- Enable SCL macros
469559
469559
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
469559
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
469559
469559
* Thu May 22 2015 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.1-1
469559
- Rebuilt with new release containing license text
469559
469559
* Wed May 13 2015 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.0-1
469559
- Initial build