8
0

Accepting request 486673 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/486673
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-Format-W3CDTF?expand=0&rev=12
This commit is contained in:
Stephan Kulow
2017-04-08 06:12:13 +00:00
committed by Git OBS Bridge
parent d322ca2d5b
commit 6b29ffa08f
5 changed files with 73 additions and 33 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b9a542bed9c52b0a89dd590a5184e38ee334c824bbe6bac842dd7dd1f88fbd7a
size 29825

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:69a02b661bbf1daa14a4813cb6786eaa66dbdf2743f0b3f458e30234c3a26268
size 29598

28
cpanspec.yml Normal file
View File

@@ -0,0 +1,28 @@
---
#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:
#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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Apr 8 05:28:40 UTC 2017 - coolo@suse.com
- updated to 0.07
see /usr/share/doc/packages/perl-DateTime-Format-W3CDTF/Changes
0.07 2017-04-07
- Added explicit "use lib '.'" for use with perl 5.26.0 (RT #120822, PR #1 from
James E Keenan).
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 9 08:26:07 UTC 2011 - vcizek@novell.com Wed Feb 9 08:26:07 UTC 2011 - vcizek@novell.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-DateTime-Format-W3CDTF # spec file for package perl-DateTime-Format-W3CDTF
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,49 +16,50 @@
# #
Name: perl-DateTime-Format-W3CDTF
Version: 0.07
Release: 0
%define cpan_name DateTime-Format-W3CDTF %define cpan_name DateTime-Format-W3CDTF
Name: perl-%cpan_name
Version: 0.06
Release: 1
Provides: %cpan_name
%perl_requires
Requires: perl-DateTime perl-DateTime-Locale perl-DateTime-TimeZone perl-Params-Validate
Group: Development/Libraries/Perl
License: Artistic
Url: http://search.cpan.org/dist/DateTime-Format-W3CDTF/
Summary: Parse and format W3CDTF datetime strings Summary: Parse and format W3CDTF datetime strings
Source: %cpan_name-%{version}.tar.gz License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/DateTime-Format-W3CDTF/
Source0: https://cpan.metacpan.org/authors/id/G/GW/GWILLIAMS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl perl-DateTime perl-DateTime-Locale perl-DateTime-TimeZone perl-Params-Validate perl-macros BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(DateTime)
Requires: perl(DateTime)
%{perl_requires}
%description %description
This module understands the W3CDTF date/time format, an ISO 8601 profile, defined at http://www.w3.org/TR/NOTE-datetime. This format as the native date format of RSS 1.0. This module understands the W3CDTF date/time format, an ISO 8601 profile,
It can be used to parse these formats in order to create the appropriate objects. defined at http://www.w3.org/TR/NOTE-datetime. This format as the native
date format of RSS 1.0.
It can be used to parse these formats in order to create the appropriate
objects.
%prep %prep
%setup -q -n %cpan_name-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{__make} %{?_smp_mflags}
%check %check
make test %{__make} test
%install %install
make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%clean %files -f %{name}.files
# clean up the hard disc after build %defattr(-,root,root,755)
rm -rf $RPM_BUILD_ROOT %doc Changes examples README
%license LICENSE
%files
%defattr(-,root,root)
%doc %{_mandir}/man?/*
%{perl_vendorlib}/DateTime
%{perl_vendorarch}/auto/DateTime
%doc Changes LICENSE MANIFEST README
%changelog %changelog