# Generated by go2rpm 1 %bcond_without check # https://gitea.com/xorm/xorm %global goipath xorm.io/xorm %global forgeurl https://gitea.com/xorm/xorm Version: 1.0.7 %global repo xorm %global archivename %{repo}-%{version} %global archiveext tar.gz %global archiveurl %{forgeurl}/archive/v%{version}.%{archiveext} %global topdir %{repo} %global extractdir %{repo} %global scm git %gometa %global goaltipaths github.com/go-xorm/xorm %global godevelheader %{expand: Obsoletes: golang-github-xorm-devel <= 0.7.6-2 } %global common_description %{expand: Simple and Powerful ORM for Go} %global golicenses LICENSE %global godocs docs examples README_CN.md pg_reserved.txt\\\ CONTRIBUTING.md README.md Name: %{goname} Release: 5%{?dist} Summary: ORM for Go # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} # session_update_test.go uses an 11 digit ph number as an int Patch0: 0001-fix-32bit-int-overflow.patch BuildRequires: golang(github.com/syndtr/goleveldb/leveldb) BuildRequires: golang(xorm.io/builder) %if %{with check} # Tests BuildRequires: golang(github.com/denisenkom/go-mssqldb) BuildRequires: golang(github.com/go-sql-driver/mysql) BuildRequires: golang(github.com/lib/pq) BuildRequires: golang(github.com/mattn/go-sqlite3) BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/ziutek/mymysql/godrv) %endif %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering - 1.0.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.0.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * * Thu Jan 28 20:25:28 2021 Robert-André Mauchin - 1.0.7-1 - Update to 1.0.7 * Tue Jan 26 2021 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Aug 07 21:51:36 CEST 2020 Robert-André Mauchin - 1.0.3-1 - Update to 1.0.3 * Tue Jul 28 2020 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Feb 15 2020 Mark Goodwin - 0.8.1-1 - Initial package