diff --git a/rubygem-pg-1.3.0-remove-rpath.patch b/rubygem-pg-1.3.0-remove-rpath.patch index b3087ed..d725b9b 100644 --- a/rubygem-pg-1.3.0-remove-rpath.patch +++ b/rubygem-pg-1.3.0-remove-rpath.patch @@ -1,7 +1,7 @@ diff --git a/ext/extconf.rb b/ext/extconf.rb --- a/ext/extconf.rb +++ b/ext/extconf.rb -@@ -54,13 +54,6 @@ +@@ -52,13 +52,6 @@ else incdir, libdir = dir_config 'pg' dlldir = libdir diff --git a/rubygem-pg.spec b/rubygem-pg.spec index 3a942bc..b677653 100644 --- a/rubygem-pg.spec +++ b/rubygem-pg.spec @@ -2,19 +2,14 @@ %global gem_name pg Name: rubygem-%{gem_name} -Version: 1.3.5 -Release: 2%{?dist} +Version: 1.4.5 +Release: 1%{?dist} Summary: A Ruby interface to the PostgreSQL RDBMS -# Upstream license clarification (https://bitbucket.org/ged/ruby-pg/issue/72/) -# -# The portions of the code that are BSD-licensed are licensed under -# the BSD 3-Clause license; the contents of the BSD file are incorrect. -# -License: (BSD or Ruby) and PostgreSQL +License: (BSD-2-Clause OR Ruby) AND PostgreSQL URL: https://github.com/ged/ruby-pg Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone --no-checkout https://github.com/ged/ruby-pg.git -# git -C ruby-pg archive -v -o pg-1.3.5-spec.tar.gz v1.3.5 spec/ +# git -C ruby-pg archive -v -o pg-1.4.5-spec.tar.gz v1.4.5 spec/ Source1: %{gem_name}-%{version}-spec.tar.gz # Disable RPATH. # https://github.com/ged/ruby-pg/issues/183 @@ -76,21 +71,6 @@ rm -rf %{buildroot}%{gem_instdir}/ext/ pushd .%{gem_instdir} ln -s %{_builddir}/spec . -# Test failures with disabled netwrok. -# https://github.com/ged/ruby-pg/issues/421 -sed -i -r 's|\\d\+\\\.\\d\+\\\.\\d\+\\\.\\d\+|(\0)?|' spec/pg/connection_spec.rb - -%ifarch ppc64le -# This test case should be ignored in theory, but it is not in practice: -# https://bugs.ruby-lang.org/issues/18560 -# https://github.com/ged/ruby-pg/issues/423 -mv spec/pg/gc_compact_spec.rb{,.disable} -%endif - -# Disable flaky test. This is problematic on most architectures. -# https://github.com/ged/ruby-pg/issues/424 -sed -i -e '/it "needs to flush data after send_query" do/a\ skip' spec/pg/connection_spec.rb - # Set --verbose to show detail log by $VERBOSE. # See https://github.com/ged/ruby-pg/blob/master/spec/helpers.rb $VERBOSE # Assign a random port to consider a case of multi builds in parallel in a host. @@ -133,6 +113,10 @@ popd %{gem_instdir}/sample %changelog +* Thu Dec 15 2022 Vít Ondruch - 1.4.5-1 +- Update to pg 1.4.5. + Resolves: rhbz#2099059 + * Sat Jul 23 2022 Fedora Release Engineering - 1.3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 5652500..4e2fe38 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (pg-1.3.5.gem) = e603e0b8dceb710d1ad01352589a7aa1af3aa002379a0fa05d6183f99572ae5e4b3be5704d7910abdd450ee225ba84e699487571499c4640afdae2d4f809631a -SHA512 (pg-1.3.5-spec.tar.gz) = 97f5203ff8ba5391c50913f4c08ca31b4b9571eb982d405e7e7408d512e4555c3a5a241282ea3ae26911a77bfa6c096ac7e9e7141529674225c85804c2dd7480 +SHA512 (pg-1.4.5-spec.tar.gz) = ec4916c8f5ec5d9820c7464bb2d04ade64545f1fa9c27fd88835f0163903e6a746a83e92c455d712226d8e834772ac11b275a49736f60942d21ea47145135771 +SHA512 (pg-1.4.5.gem) = 693f8cc22c697f9260184e3011c9f4f247f391344febb481c348737ec49ad3a0d79e7816f6e49761384d7a1c56c4069e3a6276b2254306c143b26046bef9ae68