From cf6d9b81b97417e8a780714ac6d9f95730680995 Mon Sep 17 00:00:00 2001 From: Bernhard M. Wiedemann Date: Feb 28 2023 17:46:43 +0000 Subject: update 2023-02-28 17:46 --- diff --git a/.files b/.files new file mode 100644 index 0000000..71df6fc Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..722a58f --- /dev/null +++ b/.meta @@ -0,0 +1,6 @@ + + Create DateTime objects with sub-second current time resolution + This module enables you to generate DateTime objects that represent the current time with sub-second resolution. + + https://metacpan.org/dist/DateTime-HiRes + diff --git a/.rev b/.rev new file mode 100644 index 0000000..53800a6 --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ + + + 3e3155041be10ec7dffd335ed804b869 + 0.04 + + dimstar_suse + Required for https://build.opensuse.org/request/show/1066009 + 1068024 + + diff --git a/DateTime-HiRes-0.04.tar.gz b/DateTime-HiRes-0.04.tar.gz new file mode 120000 index 0000000..277bff8 --- /dev/null +++ b/DateTime-HiRes-0.04.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreia4emkzgmwdb6pluvfxlztjfpsn5kafejb6v7zqe3e4sc4lms6dsu \ No newline at end of file diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..cd2159f --- /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: azure-pipelines.yml +#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-DateTime-HiRes.changes b/perl-DateTime-HiRes.changes new file mode 100644 index 0000000..4a292c4 --- /dev/null +++ b/perl-DateTime-HiRes.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Jan 3 11:47:34 UTC 2023 - Tina Müller + +- Initial submission diff --git a/perl-DateTime-HiRes.spec b/perl-DateTime-HiRes.spec new file mode 100644 index 0000000..4e6a7c0 --- /dev/null +++ b/perl-DateTime-HiRes.spec @@ -0,0 +1,59 @@ +# +# spec file for package perl-DateTime-HiRes +# +# Copyright (c) 2023 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 DateTime-HiRes +Name: perl-DateTime-HiRes +Version: 0.04 +Release: 0 +License: Artistic-1.0 OR GPL-1.0-or-later +Summary: Create DateTime objects with sub-second current time resolution +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(DateTime) +BuildRequires: perl(Test::More) >= 0.96 +Requires: perl(DateTime) +%{perl_requires} + +%description +This module enables you to generate DateTime objects that represent the +current time with sub-second resolution. + +%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 CODE_OF_CONDUCT.md CONTRIBUTING.md README.md Todo +%license LICENSE + +%changelog