Accepting request 221077 from OBS:Server:Unstable
- use new macros OBS-URL: https://build.opensuse.org/request/show/221077 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-eventmachine?expand=0&rev=23
This commit is contained in:
parent
c4a76e7c7c
commit
7acf1ff099
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 08:29:10 UTC 2014 - coolo@suse.com
|
||||
|
||||
- use new macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 06:15:50 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package rubygem-eventmachine
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -23,7 +23,7 @@ Release: 0
|
||||
%define mod_full_name %{mod_name}-%{version}
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: ruby-macros >= 1
|
||||
BuildRequires: ruby-macros >= 3
|
||||
BuildRequires: rubygem(rdoc) > 3.10
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: gcc-c++
|
||||
@ -33,7 +33,7 @@ BuildRequires: ruby-devel
|
||||
Provides: rubygem(%{rb_ver}:eventmachine) = 1.0.0.beta5
|
||||
# MANUAL END
|
||||
Url: http://rubyeventmachine.com
|
||||
Source: %{mod_full_name}.gem
|
||||
Source: http://rubygems.org/gems/%{mod_full_name}.gem
|
||||
Summary: Ruby/EventMachine library
|
||||
License: Ruby
|
||||
Group: Development/Languages/Ruby
|
||||
@ -69,15 +69,21 @@ Usually in RDoc and RI formats.
|
||||
%install
|
||||
%gem_install -f
|
||||
%gem_cleanup
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
ln -s %{gem_base}/gems/%{mod_full_name}/CHANGELOG.md %buildroot/%{_docdir}/%{name}/CHANGELOG.md
|
||||
ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE %buildroot/%{_docdir}/%{name}/LICENSE
|
||||
ln -s %{gem_base}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
|
||||
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
|
||||
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
|
||||
%{_docdir}/%{name}
|
||||
%{gem_base}/cache/%{mod_full_name}.gem
|
||||
%{gem_base}/gems/%{mod_full_name}/
|
||||
%{gem_extensions}/%{mod_full_name}
|
||||
%{gem_base}/specifications/%{mod_full_name}.gemspec
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
|
||||
%doc %{gem_base}/doc
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user