Compare commits
23 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
39b62a7134 | ||
|
85892974b3 | ||
|
87feb355a8 | ||
|
19f6fee2f1 | ||
|
38a003c073 | ||
|
d8b17396d3 | ||
|
7c9858cbd1 | ||
|
8592276be6 | ||
|
016527c64c | ||
|
96aa12eb25 | ||
|
510dc30e27 | ||
|
47f13fd990 | ||
|
d0ea39b543 | ||
|
88643501bb | ||
|
a435e6bceb | ||
|
9bfc3bb03f | ||
|
6b5f4db35a | ||
|
2dda1ccc0b | ||
|
02ea395ae3 | ||
|
79ccb76dfa | ||
|
67910cb324 | ||
|
9da9601064 | ||
|
2fb0abf594 |
11
.gitignore
vendored
11
.gitignore
vendored
@ -1,9 +1,2 @@
|
|||||||
ffi-ffi-b69a5e3.tar.gz
|
/ffi-*.gem
|
||||||
/ffi-ffi-1.0.9-0-gb79eb61.tar.gz
|
/ffi-*-spec.txz
|
||||||
/ffi-1.4.0.gem
|
|
||||||
/ffi-1.9.3.gem
|
|
||||||
/ffi-1.9.10.gem
|
|
||||||
/ffi-1.9.14.gem
|
|
||||||
/ffi-1.9.18.gem
|
|
||||||
/ffi-1.9.23-spec.tgz
|
|
||||||
/ffi-1.9.23.gem
|
|
||||||
|
@ -1,15 +1,16 @@
|
|||||||
%global gem_name ffi
|
%global gem_name ffi
|
||||||
|
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 1.9.23
|
Version: 1.15.5
|
||||||
Release: 1%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: FFI Extensions for Ruby
|
Summary: FFI Extensions for Ruby
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://wiki.github.com/ffi/ffi
|
URL: https://github.com/ffi/ffi/wiki
|
||||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||||
# git clone https://github.com/ffi/ffi.git && cd ffi
|
# git clone https://github.com/ffi/ffi.git --no-checkout
|
||||||
# git checkout 1.9.23 && tar czvf ffi-1.9.23-spec.tgz spec/
|
# cd ffi && git archive -v -o ffi-1.15.5-spec.txz v1.15.5 spec/
|
||||||
Source1: %{gem_name}-%{version}-spec.tgz
|
Source1: %{gem_name}-%{version}-spec.txz
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: ruby(release)
|
BuildRequires: ruby(release)
|
||||||
BuildRequires: rubygems-devel
|
BuildRequires: rubygems-devel
|
||||||
BuildRequires: ruby-devel
|
BuildRequires: ruby-devel
|
||||||
@ -17,7 +18,8 @@ BuildRequires: ruby-devel
|
|||||||
# https://fedoraproject.org/wiki/Packaging:C_and_C++#BuildRequires_and_Requires
|
# https://fedoraproject.org/wiki/Packaging:C_and_C++#BuildRequires_and_Requires
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: libffi-devel
|
BuildRequires: libffi-devel
|
||||||
BuildRequires: rubygem(rspec)
|
BuildRequires: rubygem(rspec) >= 3
|
||||||
|
BuildRequires: rubygem(bigdecimal)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ruby-FFI is a ruby extension for programmatically loading dynamic
|
Ruby-FFI is a ruby extension for programmatically loading dynamic
|
||||||
@ -40,7 +42,6 @@ Documentation for %{name}.
|
|||||||
%build
|
%build
|
||||||
# Create the gem as gem install only works on a gem file
|
# Create the gem as gem install only works on a gem file
|
||||||
gem build ../%{gem_name}-%{version}.gemspec
|
gem build ../%{gem_name}-%{version}.gemspec
|
||||||
|
|
||||||
%gem_install
|
%gem_install
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -64,7 +65,11 @@ pushd spec/ffi/fixtures
|
|||||||
make JFLAGS="%{optflags}"
|
make JFLAGS="%{optflags}"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
rspec -I$(dirs +1)%{gem_extdir_mri} spec
|
# Recent libffi corrupts dynamically allocated closures with call to fork.
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2040380
|
||||||
|
mv spec/ffi/fork_spec.rb{,.disabled}
|
||||||
|
|
||||||
|
RUBYOPT="-I$(dirs +1)%{gem_extdir_mri}" rspec spec
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -74,20 +79,85 @@ popd
|
|||||||
%license %{gem_instdir}/COPYING
|
%license %{gem_instdir}/COPYING
|
||||||
%license %{gem_instdir}/LICENSE
|
%license %{gem_instdir}/LICENSE
|
||||||
%license %{gem_instdir}/LICENSE.SPECS
|
%license %{gem_instdir}/LICENSE.SPECS
|
||||||
%exclude %{gem_instdir}/appveyor.yml
|
|
||||||
%{gem_libdir}
|
%{gem_libdir}
|
||||||
%exclude %{gem_cache}
|
%exclude %{gem_cache}
|
||||||
%{gem_spec}
|
%{gem_spec}
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%doc %{gem_docdir}
|
%doc %{gem_docdir}
|
||||||
|
%doc %{gem_instdir}/CHANGELOG.md
|
||||||
%{gem_instdir}/Gemfile
|
%{gem_instdir}/Gemfile
|
||||||
%doc %{gem_instdir}/README.md
|
%doc %{gem_instdir}/README.md
|
||||||
%{gem_instdir}/Rakefile
|
%{gem_instdir}/Rakefile
|
||||||
%{gem_instdir}/samples
|
%{gem_instdir}/samples
|
||||||
%{gem_instdir}/ffi.gemspec
|
%{gem_instdir}/ffi.gemspec
|
||||||
|
%{gem_instdir}/rakelib/ffi_gem_helper.rb
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.5-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 27 2022 Vít Ondruch <vondruch@redhat.com> - 1.15.5-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_3.1
|
||||||
|
|
||||||
|
* Thu Jan 27 2022 Vít Ondruch <vondruch@redhat.com> - 1.15.5-2
|
||||||
|
- Disable fork spec broken by recent libffi.
|
||||||
|
- Re-enable long double test fixed by FFI 1.15.5.
|
||||||
|
|
||||||
|
* Thu Jan 27 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.5-2
|
||||||
|
- F-36: rebuild against ruby31
|
||||||
|
|
||||||
|
* Tue Jan 18 2022 Pavel Valena <pvalena@redhat.com> - 1.15.5-1
|
||||||
|
- Update to ffi 1.15.5.
|
||||||
|
Resolves: rhbz#2038923
|
||||||
|
|
||||||
|
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 1.15.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
|
||||||
|
|
||||||
|
* Mon Sep 13 2021 Pavel Valena <pvalena@redhat.com> - 1.15.4-1
|
||||||
|
- Update to ffi 1.15.4.
|
||||||
|
Resolves: rhbz#1909309
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 6 2021 Vít Ondruch <vondruch@redhat.com> - 1.13.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_3.0
|
||||||
|
|
||||||
|
* Thu Dec 03 2020 Vít Ondruch <vondruch@redhat.com> - 1.13.1-1
|
||||||
|
- Disable long double test failing on i686.
|
||||||
|
|
||||||
|
* Thu Nov 12 22:57:22 CET 2020 Pavel Valena <pvalena@redhat.com> - 1.13.1-1
|
||||||
|
- Update to ffi 1.13.1.
|
||||||
|
Resolves: rhbz#1797215
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 20 2020 Pavel Valena <pvalena@redhat.com> - 1.12.1-1
|
||||||
|
- Update to ffi 1.12.1.
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 23 2019 Pavel Valena <pvalena@redhat.com> - 1.10.0-1
|
||||||
|
- Update to FFI 1.10.0.
|
||||||
|
|
||||||
|
* Thu Jan 17 2019 Vít Ondruch <vondruch@redhat.com> - 1.9.23-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.6
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.23-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
* Wed Feb 28 2018 Vít Ondruch <vondruch@redhat.com> - 1.9.23-1
|
* Wed Feb 28 2018 Vít Ondruch <vondruch@redhat.com> - 1.9.23-1
|
||||||
- Update to FFI 1.9.23.
|
- Update to FFI 1.9.23.
|
||||||
|
|
||||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
SHA512 (ffi-1.9.23-spec.tgz) = c0d27b851674806f45a3986a67213687e6fee0bca35edbac29c6abd3f3a32206865ff06fc9f6ba6128e5dd8703de315e63364148447adfc74653d66ce9320a75
|
SHA512 (ffi-1.15.5.gem) = 074df34edffc7038ab08199350a97b32280d61ea15dd85d459b008bd3363ec5403b4e533621c8e460e5288f01fec944bff9b149851b819e85bab75ad2362227c
|
||||||
SHA512 (ffi-1.9.23.gem) = 6e4400872e5ea0b27a1406a334fd0aa1802c2fc0b99c41302369666da74991b8ee66ce1be08d2526e8c22e803d6f43a3181f4628d9bc87eccb572fb591c14b5f
|
SHA512 (ffi-1.15.5-spec.txz) = 746e69d9d9d43f53b165898c943b6acb6fea0bf5bf0669fade331a5a38bace4cf9de59dda09c57f4fc5ad8b22ead5aa72f07e61318d7ed794e9cefe76dee55a3
|
||||||
|
Loading…
Reference in New Issue
Block a user