Accepting request 221431 from devel:languages:ruby:extensions
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/221431 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rubygem-ffi?expand=0&rev=14
This commit is contained in:
commit
7cbcd8ccae
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 18:28:37 UTC 2014 - coolo@suse.com
|
||||
|
||||
- updated to version 1.9.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 31 05:54:34 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package rubygem-ffi
|
||||
#
|
||||
# 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,9 +23,10 @@ Release: 0
|
||||
%define mod_full_name %{mod_name}-%{version}
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: ruby-macros >= 1
|
||||
BuildRequires: ruby-macros >= 3
|
||||
Requires: ruby >= 1.8.7
|
||||
BuildRequires: ruby-devel >= 1.8.7
|
||||
BuildRequires: ruby >= 1.8.7
|
||||
BuildRequires: ruby-devel
|
||||
BuildRequires: rubygem(rdoc) > 3.10
|
||||
# MANUAL
|
||||
BuildRequires: libffi-devel
|
||||
@ -66,24 +67,25 @@ Test::Unit or RSpec files, useful for developers.
|
||||
%gem_install -f
|
||||
%gem_cleanup
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE %buildroot/%{_docdir}/%{name}/LICENSE
|
||||
ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING %buildroot/%{_docdir}/%{name}/COPYING
|
||||
ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md
|
||||
ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE %buildroot/%{_docdir}/%{name}/LICENSE
|
||||
ln -s %{gem_base}/gems/%{mod_full_name}/COPYING %buildroot/%{_docdir}/%{name}/COPYING
|
||||
ln -s %{gem_base}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_docdir}/%{name}
|
||||
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
|
||||
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
|
||||
%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
|
||||
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
|
||||
%{gem_base}/cache/%{mod_full_name}.gem
|
||||
%{gem_base}/gems/%{mod_full_name}/
|
||||
%{gem_extensions}/%{mod_full_name}
|
||||
%exclude %{gem_base}/gems/%{mod_full_name}/spec
|
||||
%{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
|
||||
|
||||
%files testsuite
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
|
||||
%{gem_base}/gems/%{mod_full_name}/spec
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user