[packages/ruby-launchy] drop bogus rake runtime deps; deps are autogenerated
glen
glen at pld-linux.org
Tue Apr 19 08:21:19 CEST 2016
commit b862e6a0029d79f23a7a8c811c610221cfcf9609
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Apr 19 09:21:15 2016 +0300
drop bogus rake runtime deps; deps are autogenerated
ruby-launchy.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/ruby-launchy.spec b/ruby-launchy.spec
index 8320f22..ae643f6 100644
--- a/ruby-launchy.spec
+++ b/ruby-launchy.spec
@@ -6,7 +6,7 @@
Summary: Helper class for cross-platform launching of applications
Name: ruby-%{pkgname}
Version: 0.4.0
-Release: 1
+Release: 2
License: BSD
Group: Development/Languages
Source0: http://gems.rubyforge.org/gems/%{pkgname}-%{version}.gem
@@ -17,8 +17,6 @@ BuildRequires: rpmbuild(macros) >= 1.665
%if %{with tests}
BuildRequires: rubygem(rspec)
%endif
-Requires: rubygem(configuration) >= 0.0.5
-Requires: rubygem(rake) >= 0.8.1
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -36,10 +34,15 @@ programs.
chmod a+rx bin/*
%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+
%build
# write .gemspec
%__gem_helper spec
+# bogus dep
+# s.add_runtime_dependency(%q<rake>, [">= 0.8.1"])
+%{__sed} -i -e '/s.add_runtime_dependency.*rake/d' *.gemspec
+
%if %{with tests}
rspec spec
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-launchy.git/commitdiff/b862e6a0029d79f23a7a8c811c610221cfcf9609
More information about the pld-cvs-commit
mailing list