Exclude test.ru shebang from being mangled.

epel9
Vít Ondruch 7 years ago
parent 593722321d
commit 2e91b75d98

@ -1,7 +1,3 @@
# Avoid shebang check to a testing file.
# https://bugzilla.redhat.com/show_bug.cgi?id=1541318
%undefine __brp_mangle_shebangs
%global gem_name rack
# There is circular dependency between thin and rack.
@ -11,7 +7,7 @@ Name: rubygem-%{gem_name}
Version: 2.0.4
# Introduce Epoch (related to bug 552972)
Epoch: 1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A modular Ruby webserver interface
Group: Development/Languages
# lib/rack/show_{status,exceptions}.rb contains snippets from Django under BSD license.
@ -30,6 +26,8 @@ BuildRequires: rubygem(thin)
%endif
BuildArch: noarch
%global __brp_mangle_shebangs_exclude_from ^%{gem_instdir}/test/cgi/test.ru$
%description
Rack provides a minimal, modular and adaptable interface for developing
web applications in Ruby. By wrapping HTTP requests and responses in
@ -119,6 +117,9 @@ popd
%doc %{gem_instdir}/contrib
%changelog
* Thu Feb 15 2018 Vít Ondruch <vondruch@redhat.com> - 1:2.0.4-2
- Exclude test.ru shebang from being mangled.
* Tue Feb 13 2018 Jun Aruga <jaruga@redhat.com> - 1:2.0.4-1
- Update to Rack 2.0.4.

Loading…
Cancel
Save