## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.6.0 %bcond_without check %global debug_package %{nil} # https://github.com/lib/pq %global goipath github.com/lib/pq Version: 1.10.6 %gometa %global common_description %{expand: A pure Go postgres driver for Go's database/sql package} %global golicenses LICENSE.md %global godocs example README.md TESTS.md certs-README Name: %{goname} Release: %autorelease Summary: Pure Go postgres driver for database/sql License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: postgresql-test-rpm-macros %description %{common_description} %gopkg %prep %goprep mv certs/README certs-README %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %postgresql_tests_run export PGUSER=$(id -un) PGPASSWORD=$(id -un) PGDATABASE=$(id -un) for test in "TestCloseBadConn" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog * Sun Jul 24 2022 Robert-André Mauchin 1.10.6-1 - Update to 1.10.6 - Close: rhbz#1936254 * Thu Jul 21 2022 Fedora Release Engineering - 1.9.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 3 13:30:20 CET 2021 Robert-André Mauchin - 1.9.0-1 - Update to 1.9.0 - Close: rhbz#1826538 * Sat Aug 15 00:22:00 CEST 2020 Robert-André Mauchin - 1.8.0-1 - Update to 1.8.0 * Sat Aug 01 2020 Fedora Release Engineering - 1.3.0-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Feb 17 2020 Elliott Sales de Andrade - 1.3.0-1 - Update to latest version * Mon Feb 17 2020 Elliott Sales de Andrade - 1.1.1-4 - Enable tests * Wed Jan 29 2020 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat May 04 00:45:14 CEST 2019 Robert-André Mauchin - 1.1.1-1 - Release 1.1.1 * Fri Feb 01 2019 Fedora Release Engineering - 0-0.13.git0dad96c - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 23 2018 Nicolas Mailhot - 0-0.12.git0dad96c - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ * Fri Jul 13 2018 Fedora Release Engineering - 0-0.11.git0dad96c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 17 2018 Jan Chaloupka - 0-0.10.git0dad96c - Upload glide files * Thu Mar 01 2018 Jan Chaloupka - 0-0.9.20150723git0dad96c - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering - 0-0.8.git0dad96c - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.7.git0dad96c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.6.git0dad96c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.5.git0dad96c - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jul 21 2016 Fedora Release Engineering - 0-0.4.git0dad96c - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Feb 22 2016 Fedora Release Engineering - 0-0.3.git0dad96c - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0-0.2.git0dad96c - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Oct 08 2015 jchaloup - 0-0.1.git0dad96c - First package for Fedora resolves: #1270051