commit 3f0e72fd41c8e1931accdc08c41eae4001c27c12d764f1a873a69dce70ea5efa Author: Tina Müller Date: Tue Mar 2 10:57:48 2021 +0000 Accepting request 876188 from home:tinita:branches:devel:languages:perl:CPAN-S - initial package 1.0 * created by cpanspec 1.80.01 OBS-URL: https://build.opensuse.org/request/show/876188 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Abstract-Pg?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/SQL-Abstract-Pg-1.0.tar.gz b/SQL-Abstract-Pg-1.0.tar.gz new file mode 100644 index 0000000..a63765a --- /dev/null +++ b/SQL-Abstract-Pg-1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e27360df37b8d88f3c52dac9b03493f9bd3eeff6c8d88f9b086d2711553f547 +size 10351 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..ab24ed9 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,35 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +# baz.patch: PATCH-FIX-OPENSUSE +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module +#skip_doc: regexp_to_skip_for_doc.* +#add_doc: files to add to docs +#misc: |- +#anything else to be added to spec file +#follows directly after %files section, so it can contain new blocks or also +#changes to %files section diff --git a/perl-SQL-Abstract-Pg.changes b/perl-SQL-Abstract-Pg.changes new file mode 100644 index 0000000..35920a1 --- /dev/null +++ b/perl-SQL-Abstract-Pg.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Mar 2 10:27:53 UTC 2021 - Tina Müller + +- initial package 1.0 + * created by cpanspec 1.80.01 diff --git a/perl-SQL-Abstract-Pg.spec b/perl-SQL-Abstract-Pg.spec new file mode 100644 index 0000000..159b778 --- /dev/null +++ b/perl-SQL-Abstract-Pg.spec @@ -0,0 +1,58 @@ +# +# spec file for package perl-SQL-Abstract-Pg +# +# Copyright (c) 2021 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define cpan_name SQL-Abstract-Pg +Name: perl-SQL-Abstract-Pg +Version: 1.0 +Release: 0 +Summary: PostgreSQL features for SQL::Abstract +License: Artistic-2.0 +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/S/SR/SRI/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(SQL::Abstract) >= 2.0 +Requires: perl(SQL::Abstract) >= 2.0 +%{perl_requires} + +%description +SQL::Abstract::Pg extends SQL::Abstract with a few PostgreSQL features used +by Mojo::Pg. + +%prep +%autosetup -n %{cpan_name}-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +%make_build + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%doc Changes README.md +%license LICENSE + +%changelog