Don't link cert.pem explicitely
This commit is contained in:
parent
9fc3f49bd6
commit
b038223eae
13
ruby.spec
13
ruby.spec
@ -28,7 +28,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%global release 18
|
%global release 19
|
||||||
%{!?release_string:%global release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}}
|
%{!?release_string:%global release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}}
|
||||||
|
|
||||||
%global rubygems_version 2.2.0
|
%global rubygems_version 2.2.0
|
||||||
@ -172,8 +172,6 @@ BuildRequires: tk-devel
|
|||||||
# Needed to pass test_set_program_name(TestRubyOptions)
|
# Needed to pass test_set_program_name(TestRubyOptions)
|
||||||
BuildRequires: procps
|
BuildRequires: procps
|
||||||
BuildRequires: %{_bindir}/dtrace
|
BuildRequires: %{_bindir}/dtrace
|
||||||
# Unbundle cert.pem
|
|
||||||
BuildRequires: ca-certificates
|
|
||||||
# RubyGems test suite optional dependencies.
|
# RubyGems test suite optional dependencies.
|
||||||
BuildRequires: %{_bindir}/git
|
BuildRequires: %{_bindir}/git
|
||||||
BuildRequires: %{_bindir}/cmake
|
BuildRequires: %{_bindir}/cmake
|
||||||
@ -219,7 +217,6 @@ Requires: ruby(release)
|
|||||||
Requires: rubygem(rdoc) >= %{rdoc_version}
|
Requires: rubygem(rdoc) >= %{rdoc_version}
|
||||||
Requires: rubygem(io-console) >= %{io_console_version}
|
Requires: rubygem(io-console) >= %{io_console_version}
|
||||||
Requires: rubygem(psych) >= %{psych_version}
|
Requires: rubygem(psych) >= %{psych_version}
|
||||||
Requires: ca-certificates
|
|
||||||
Provides: gem = %{version}-%{release}
|
Provides: gem = %{version}-%{release}
|
||||||
Provides: ruby(rubygems) = %{version}-%{release}
|
Provides: ruby(rubygems) = %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -480,11 +477,6 @@ sed -i "s/%%{name}/%{name}/" %{buildroot}%{_rpmconfigdir}/macros.d/macros.ruby
|
|||||||
install -m 644 %{SOURCE5} %{buildroot}%{_rpmconfigdir}/macros.d/macros.rubygems
|
install -m 644 %{SOURCE5} %{buildroot}%{_rpmconfigdir}/macros.d/macros.rubygems
|
||||||
sed -i "s/%%{name}/%{name}/" %{buildroot}%{_rpmconfigdir}/macros.d/macros.rubygems
|
sed -i "s/%%{name}/%{name}/" %{buildroot}%{_rpmconfigdir}/macros.d/macros.rubygems
|
||||||
|
|
||||||
# Kill bundled cert.pem
|
|
||||||
mkdir -p %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/
|
|
||||||
ln -sf %{_sysconfdir}/pki/tls/cert.pem \
|
|
||||||
%{buildroot}%{rubygems_dir}/rubygems/ssl_certs/ca-bundle.pem
|
|
||||||
|
|
||||||
# Install custom operating_system.rb.
|
# Install custom operating_system.rb.
|
||||||
mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults
|
mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults
|
||||||
cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults
|
cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults
|
||||||
@ -898,6 +890,9 @@ OPENSSL_ENABLE_MD5_VERIFY=1 make check TESTS="-v $DISABLE_TESTS"
|
|||||||
%{ruby_libdir}/tkextlib
|
%{ruby_libdir}/tkextlib
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 10 2014 Josef Stribny <jstribny@redhat.com> - 2.1.0-19
|
||||||
|
- Don't link cert.pem explicitely
|
||||||
|
|
||||||
* Wed Jan 15 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.0-18
|
* Wed Jan 15 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.0-18
|
||||||
- Don't generate documentation on unexpected places.
|
- Don't generate documentation on unexpected places.
|
||||||
- Detect if rubygems are running under rpmbuild and install gem binary
|
- Detect if rubygems are running under rpmbuild and install gem binary
|
||||||
|
Loading…
Reference in New Issue
Block a user