forked from pool/perl-Package-Generator
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:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ab06986fe0431dd6f8cd73fdc5c219d4104b8e400b44e79dc4e451ac0c515b0f
|
|
||||||
size 26845
|
|
3
Package-Generator-1.105.tar.gz
Normal file
3
Package-Generator-1.105.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:67d504d58f30e21211ebcdabc25bd90baf223d0f7cefe711b0c404d09917631d
|
||||||
|
size 17079
|
@@ -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
|
Wed Dec 7 11:46:21 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Package-Generator
|
# 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
|
# 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
|
||||||
@@ -17,40 +17,30 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Package-Generator
|
Name: perl-Package-Generator
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
Version: 1.105
|
||||||
Summary: Generate new packages quickly and easily
|
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
|
||||||
Group: Development/Libraries/Perl
|
|
||||||
Version: 0.103
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://search.cpan.org/dist/Package-Generator
|
%define cpan_name Package-Generator
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Package-Generator-0.103.tar.gz
|
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
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
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
|
BuildRequires: perl-macros
|
||||||
#
|
BuildRequires: perl(Test::More) >= 0.96
|
||||||
Requires: perl(Scalar::Util)
|
%{perl_requires}
|
||||||
Requires: perl(Test::More)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module lets you quickly and easily construct new packages.
|
This module lets you quickly and easily construct new packages. It gives
|
||||||
It gives them unused names and sets up their package data,
|
them unused names and sets up their package data, if provided.
|
||||||
if provided.
|
|
||||||
|
|
||||||
Author: Ricardo Signes, <rjbs@cpan.org>
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -58,19 +48,11 @@ if provided.
|
|||||||
|
|
||||||
%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
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
# normally you only need to check for doc files
|
%defattr(-,root,root,755)
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc Changes LICENSE README
|
%doc Changes LICENSE README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user