8
0

Accepting request 184801 from devel:languages:perl

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/184801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Package-Generator?expand=0&rev=11
This commit is contained in:
Stephan Kulow
2013-07-30 14:46:45 +00:00
committed by Git OBS Bridge
4 changed files with 25 additions and 36 deletions

View File

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

View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Jul 27 11:58:32 UTC 2013 - coolo@suse.com
- updated to 1.105
oops, re-repackage, dropping pod tests
repackage, update bug tracker
-------------------------------------------------------------------
Wed Dec 7 11:46:21 UTC 2011 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Package-Generator
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 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
@@ -17,40 +17,30 @@
Name: perl-Package-Generator
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Generate new packages quickly and easily
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Version: 0.103
Version: 1.105
Release: 0
Url: http://search.cpan.org/dist/Package-Generator
Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Package-Generator-0.103.tar.gz
%define cpan_name Package-Generator
Summary: generate new packages quickly and easily
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Package-Generator/
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.06
BuildRequires: perl-macros
#
Requires: perl(Scalar::Util)
Requires: perl(Test::More)
BuildRequires: perl(Test::More) >= 0.96
%{perl_requires}
%description
This module lets you quickly and easily construct new packages.
It gives them unused names and sets up their package data,
if provided.
Author: Ricardo Signes, <rjbs@cpan.org>
This module lets you quickly and easily construct new packages. It gives
them unused names and sets up their package data, if provided.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
@@ -58,19 +48,11 @@ if provided.
%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
# normally you only need to check for doc files
%defattr(-,root,root)
%defattr(-,root,root,755)
%doc Changes LICENSE README
%changelog