[packages/ruby-cucumber] do not generate python deps

glen glen at pld-linux.org
Wed Aug 13 16:54:11 CEST 2014


commit 15c7afd0aaeb8f70626fae2d9f86a6b64022903b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Aug 13 17:54:09 2014 +0300

    do not generate python deps

 ruby-cucumber.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/ruby-cucumber.spec b/ruby-cucumber.spec
index adcb624..ac6759c 100644
--- a/ruby-cucumber.spec
+++ b/ruby-cucumber.spec
@@ -4,7 +4,7 @@
 Summary:	Tool to execute plain-text documents as functional tests
 Name:		ruby-%{pkgname}
 Version:	1.2.1
-Release:	2
+Release:	3
 License:	MIT
 Group:		Development/Languages
 Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
@@ -21,6 +21,9 @@ Requires:	ruby-json >= 1.4.6
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# do not generate python dependency, py_support is optional
+%define		_noautoreqfiles %{ruby_vendorlibdir}/cucumber/py_support
+
 %description
 Cucumber lets software development teams describe how software should
 behave in plain text. The text is written in a business-readable
@@ -49,8 +52,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.md History.md LICENSE
 %attr(755,root,root) %{_bindir}/cucumber
-%{ruby_vendorlibdir}/%{pkgname}.rb
-%{ruby_vendorlibdir}/%{pkgname}
+%{ruby_vendorlibdir}/cucumber.rb
+%{ruby_vendorlibdir}/cucumber
 
 %{ruby_vendorlibdir}/autotest/cucumber.rb
 %{ruby_vendorlibdir}/autotest/cucumber_mixin.rb
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-cucumber.git/commitdiff/15c7afd0aaeb8f70626fae2d9f86a6b64022903b



More information about the pld-cvs-commit mailing list