8
0

- add Non-Commercial to the license for the word list

- updated to 0.05

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Random?expand=0&rev=5
This commit is contained in:
Stephan Kulow
2011-09-02 13:19:50 +00:00
committed by Git OBS Bridge
parent 72a1362ec0
commit 396ec3baaf
4 changed files with 24 additions and 31 deletions

View File

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

3
Data-Random-0.05.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
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

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-Random (Version 0.05)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 SUSE LINUX Products 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,40 +15,27 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Data-Random
%define cpan_name Data-Random
Summary: Perl module to generate random data
Version: 0.05
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
License: GPL+ or Artistic and Non-Commercial
%define cpan_name Data-Random
Summary: Perl module to generate random data
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
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/A/AD/ADEO/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Date::Calc)
BuildRequires: 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 -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -59,18 +46,14 @@ 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
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,-)
%defattr(-,root,root,755)
%doc Changes README README2.linux.words README.linux.words
%changelog