Accepting request 368895 from devel:languages:perl
1 OBS-URL: https://build.opensuse.org/request/show/368895 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Readonly?expand=0&rev=20
This commit is contained in:
commit
8d4bde3d29
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9bd0156e958842fdfd6c3bb27a23b47232d4737a407d81fabc4dc64b9363bf98
|
||||
size 23673
|
3
Readonly-2.01.tar.gz
Normal file
3
Readonly-2.01.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ec7076c6851b6d3338e959645cd995343241f5b20000ffc29519faf28f6b482e
|
||||
size 23227
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal 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
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 8 10:55:38 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 2.01
|
||||
see /usr/share/doc/packages/perl-Readonly/Changes
|
||||
|
||||
2.01 2016-02-24T16:01:12Z
|
||||
- Disallow initialization of Readonly variables by assignment
|
||||
allowed by Perl prototype changes in v5.16. Assignment initialization
|
||||
of scalars sets scalar variables to undef and lists and hashes
|
||||
initialized by assignment are not read only.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 17 14:55:28 UTC 2014 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Readonly
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,21 +17,20 @@
|
||||
|
||||
|
||||
Name: perl-Readonly
|
||||
Version: 2.00
|
||||
Version: 2.01
|
||||
Release: 0
|
||||
%define cpan_name Readonly
|
||||
Summary: Facility for creating read-only scalars, arrays, hashes
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Readonly/
|
||||
Source: http://www.cpan.org/authors/id/S/SA/SANKO/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/S/SA/SANKO/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(CPAN::Meta)
|
||||
BuildRequires: perl(CPAN::Meta::Prereqs)
|
||||
BuildRequires: perl(Module::Build) >= 0.38
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.035
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@ -41,18 +40,18 @@ Facility for creating read-only scalars, arrays, hashes
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
%{__perl} Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes cpanfile LICENSE README.md
|
||||
%doc Changes LICENSE README.md
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user