forked from pool/perl-Test-Script
Accepting request 32729 from devel:languages:perl
Copy from devel:languages:perl/perl-Test-Script based on submit request 32729 from user coolo OBS-URL: https://build.opensuse.org/request/show/32729 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Script?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
f393ba420d
commit
4fbd33deb5
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 8 22:22:47 UTC 2010 - larry+opensuse@l2g.to
|
||||
|
||||
- More cleanup for openSUSE packaging
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 25 15:28:21 CET 2010 - anicka@suse.cz
|
||||
|
||||
|
@@ -19,10 +19,10 @@
|
||||
|
||||
Name: perl-Test-Script
|
||||
Version: 1.07
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Basic cross-platform tests for scripts
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Test-Script/
|
||||
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-Script-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -40,14 +40,12 @@ also commonly used) paths of your Perl distribution.
|
||||
%setup -q -n Test-Script-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -58,7 +56,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
%{perl_vendorlib}/Test/Script*
|
||||
%{_mandir}/man3/Test::Script*.3pm*
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user