diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..730caa9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/dburl-98997a05b24fc069c79fa13b05ccf376c22a326c.tar.gz diff --git a/golang-github-xo-dburl.spec b/golang-github-xo-dburl.spec new file mode 100644 index 0000000..141d4c5 --- /dev/null +++ b/golang-github-xo-dburl.spec @@ -0,0 +1,48 @@ +# Generated by go2rpm 1 +# Needs Postgresql and MySQL servers for tests +# Doesn't work with MariaDB +%bcond_with check + +# https://github.com/xo/dburl +%global goipath github.com/xo/dburl +%global commit 98997a05b24fc069c79fa13b05ccf376c22a326c + +%gometa + +%global common_description %{expand: +Package Dburl provides a standard, URL style mechanism for parsing and opening +SQL database connection strings.} + +%global golicenses LICENSE +%global godocs _example README.md + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: URL style mechanism for parsing and opening SQL database connection strings + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Thu Jul 25 15:50:45 CEST 2019 Robert-André Mauchin - 0-0.1.20190803git98997a0 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..4ff0edb --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dburl-98997a05b24fc069c79fa13b05ccf376c22a326c.tar.gz) = 8db08f4d0ed55c270fecf2f146d4e7a8983201c2bdfa19497c39d5c5b1c65b8f92cab7e5ac2d962554378b49a7070bcf4c2e776cedef5c5bb25c263ccac16303