forked from pool/perl-Data-Random
- 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:
committed by
Git OBS Bridge
parent
72a1362ec0
commit
396ec3baaf
@@ -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
3
Data-Random-0.05.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1def0ac0147009d3ff07140a7cd6fb0672469af118b8eda530dcd15f21747362
|
||||||
|
size 147055
|
@@ -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
|
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 (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
|
# 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
|
||||||
@@ -15,40 +15,27 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
Name: perl-Data-Random
|
Name: perl-Data-Random
|
||||||
%define cpan_name Data-Random
|
|
||||||
Summary: Perl module to generate random data
|
|
||||||
Version: 0.05
|
Version: 0.05
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic and Non-Commercial
|
||||||
Group: Development/Libraries/Perl
|
%define cpan_name Data-Random
|
||||||
|
Summary: Perl module to generate random data
|
||||||
Url: http://search.cpan.org/dist/Data-Random/
|
Url: http://search.cpan.org/dist/Data-Random/
|
||||||
#Source: http://www.cpan.org/modules/by-module/Data/Data-Random-%{version}.tar.gz
|
Group: Development/Libraries/Perl
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: http://www.cpan.org/authors/id/A/AD/ADEO/%{cpan_name}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Date::Calc)
|
%{perl_requires}
|
||||||
BuildRequires: perl(GD)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A module used to generate random data. Useful mostly for test programs.
|
A module used to generate random data. Useful mostly for test programs.
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Adekunle Olonoh, koolade@users.sourceforge.net
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
# rpmlint:
|
find . -type f -print0 | xargs -0 chmod 644
|
||||||
# script-without-shebang
|
|
||||||
find -type f -name "*.pm" -exec %{__chmod} 0644 {} \;
|
|
||||||
# spurious-executable-perm
|
|
||||||
%{__chmod} 0644 README*
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
@@ -59,18 +46,14 @@ find -type f -name "*.pm" -exec %{__chmod} 0644 {} \;
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
# do not perl_process_packlist (noarch)
|
%perl_process_packlist
|
||||||
# remove .packlist file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
|
||||||
# remove perllocal.pod file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README README2.linux.words README.linux.words
|
%doc Changes README README2.linux.words README.linux.words
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user