8
0

Compare commits

...

5 Commits

Author SHA256 Message Date
9475abb185 Accepting request 1269392 from devel:languages:perl
- Normalize CPAN version
  See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/request/show/1269392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Data-Section-Simple?expand=0&rev=9
2025-04-15 14:46:40 +00:00
7db8f5ca1e - Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Section-Simple?expand=0&rev=9
2025-04-14 21:25:06 +00:00
Stephan Kulow
77f39c89e4 Accepting request 249345 from devel:languages:perl
- updated to 0.07
    - revert the change in 0.06
    - Fix race condition in a forked environment (hirose31) #4

OBS-URL: https://build.opensuse.org/request/show/249345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Data-Section-Simple?expand=0&rev=8
2014-09-17 15:25:39 +00:00
Stephan Kulow
04824a6d19 Accepting request 183230 from devel:languages:perl
- updated to 0.05
    - use MakeMaker                                                                                                                                                                                                                     
    - Do not throw exceptions when there's no template (tokuhirom) #2

OBS-URL: https://build.opensuse.org/request/show/183230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Data-Section-Simple?expand=0&rev=5
2013-07-16 15:01:35 +00:00
Stephan Kulow
cdb57de2b6 Accepting request 108079 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/108079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Data-Section-Simple?expand=0&rev=2
2012-03-06 12:40:51 +00:00
2 changed files with 24 additions and 16 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 14 21:24:22 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Mon Sep 15 15:15:07 UTC 2014 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-Section-Simple
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,25 +12,27 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Data-Section-Simple
Version: 0.07
Release: 0
%define cpan_name Data-Section-Simple
Name: perl-Data-Section-Simple
Version: 0.70.0
Release: 0
# 0.07 -> normalize -> 0.70.0
%define cpan_version 0.07
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Read data from __DATA__
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Data-Section-Simple/
Source: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Requires)
Provides: perl(Data::Section::Simple) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -38,14 +40,14 @@ Data::Section::Simple is a simple module to extract data from '__DATA__'
section of the file.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -53,7 +55,7 @@ section of the file.
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes cpanfile LICENSE README
%doc Changes README
%license LICENSE
%changelog