forked from pool/perl-Data-Random
Compare commits
10 Commits
7bcbce8ab1
...
b817f193d1
Author | SHA256 | Date | |
---|---|---|---|
b817f193d1 | |||
|
175970e5ef | ||
e68f77fe65 | |||
|
0d326417e8 | ||
b8d682ca8f | |||
|
b3855598e9 | ||
|
5a820a2d8c | ||
|
17838a55bc | ||
|
396ec3baaf | ||
|
72a1362ec0 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e5c6ad73c1f65825539152678abaab87c796bb55fa11fa09fef4253d3d48f6c
|
||||
size 168833
|
3
Data-Random-0.13.tar.gz
Normal file
3
Data-Random-0.13.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eb590184a8db28a7e49eab09e25f8650c33f1f668b6a472829de74a53256bfc0
|
||||
size 158143
|
3
cpanspec.yml
Normal file
3
cpanspec.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
post_prep:
|
||||
sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
|
@@ -1,3 +1,60 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 05:13:51 UTC 2018 - coolo@suse.com
|
||||
|
||||
- updated to 0.13
|
||||
see /usr/share/doc/packages/perl-Data-Random/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 3 07:23:24 UTC 2017 - coolo@suse.com
|
||||
|
||||
- patch the Makefile to build with perl 5.26
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 7 08:24:07 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.12
|
||||
see /usr/share/doc/packages/perl-Data-Random/Changes
|
||||
|
||||
0.12 2015-05-25T10:44:00-0700
|
||||
- convert from Date::Calc to Time::Piece
|
||||
- require Time::Piece 1.16 because it has add_year()
|
||||
- fixed rand_datetime on MSWin32 after Time::Piece
|
||||
- fixed tests to work for local timezone
|
||||
- convert to File::Temp
|
||||
- lots of cleanup
|
||||
Thanks to mbeijen (Michiel Beijen) for these improvements!
|
||||
- colors can only go up to 255 (RT/100995)
|
||||
Thanks to jrosenboom
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 20:59:27 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.11
|
||||
see /usr/share/doc/packages/perl-Data-Random/Changes
|
||||
|
||||
Revision history for Perl module Data::Random
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 14 18:07:04 UTC 2013 - lars@linux-schulserver.de
|
||||
|
||||
- update to 0.09:
|
||||
+ getting new Module::Install::GithubMeta [RT#88089]
|
||||
+ fixing even more random tests that fail on midnight and zero seconds
|
||||
+ fixed distro bugs [RT#73551, RT#75507, RT#77290]
|
||||
+ fixed bug where .. was added to @INC [RT#71346]
|
||||
+ tweaked POD
|
||||
+ improved tests/fixed many CPAN Testers failures
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 13:18:47 UTC 2011 - coolo@suse.com
|
||||
|
||||
- add Non-Commercial to the license for the word list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 13:08:14 UTC 2011 - coolo@suse.com
|
||||
|
||||
- updated to 0.05
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:31:38 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Data-Random (Version 0.05)
|
||||
# spec file for package perl-Data-Random
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 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
|
||||
@@ -15,42 +15,38 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: perl-Data-Random
|
||||
Version: 0.13
|
||||
Release: 0
|
||||
%define cpan_name Data-Random
|
||||
Summary: Perl module to generate random data
|
||||
Version: 0.05
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Data-Random/
|
||||
#Source: http://www.cpan.org/modules/by-module/Data/Data-Random-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
Source0: https://cpan.metacpan.org/authors/id/B/BA/BAREFOOT/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Date::Calc)
|
||||
BuildRequires: perl(GD)
|
||||
BuildRequires: perl(File::ShareDir::Install) >= 0.06
|
||||
BuildRequires: perl(Test::MockTime)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Time::Piece) >= 1.16
|
||||
Requires: perl(Time::Piece) >= 1.16
|
||||
Recommends: perl(GD)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
A module used to generate random data. Useful mostly for test programs.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Adekunle Olonoh, koolade@users.sourceforge.net
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# rpmlint:
|
||||
# script-without-shebang
|
||||
find -type f -name "*.pm" -exec %{__chmod} 0644 {} \;
|
||||
# spurious-executable-perm
|
||||
%{__chmod} 0644 README*
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
# MANUAL BEGIN
|
||||
sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
@@ -61,18 +57,12 @@ find -type f -name "*.pm" -exec %{__chmod} 0644 {} \;
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
# do not perl_process_packlist (noarch)
|
||||
# remove .packlist file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||
# remove perllocal.pod file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README README2.linux.words README.linux.words
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user