From 15c7afd0aaeb8f70626fae2d9f86a6b64022903b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 13 Aug 2014 17:54:09 +0300 Subject: [PATCH] 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 -- 2.44.0