forked from pool/perl-HTML-Format
- update to 2.07
- Release unchanged except for version number after a period to see if test release threw up any issues... - Code gardening - no functionality modifications - includes:- - Moved old DEBUG framework to Smart::Comments - Ensured variables are declared my as much as possible - Ensure strict/warnings used as far as possible - use base rather than playing games with @ISA - Changes above enforce a requirement of perl 5.6.1 - Robo-reformatted by perltidy - Stripped function prototypes where used - Passes standard perl critic with one exclusion - Tweaks for comprehensibility - splitting sections etc - removed authors from spec OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Format?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
3103c2eefc
commit
da2d3c68de
@@ -22,12 +22,12 @@ Name: perl-HTML-Format
|
||||
%define cpan_name HTML-Format
|
||||
BuildRequires: perl-File-Slurp perl-Font-AFM perl-HTML-Tree
|
||||
BuildRequires: perl(Test::More) >= 0.96 perl-macros
|
||||
License: Artistic ; GPLv2+
|
||||
License: GPLv2+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Requires: perl-HTML-Parser perl-HTML-Tagset perl-Font-AFM perl-HTML-Tree
|
||||
AutoReqProv: on
|
||||
Summary: Perl Modules to Format HTML into Plain Text, PostScript, or RTF
|
||||
Version: 2.05
|
||||
Version: 2.07
|
||||
Release: 1
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
Url: http://cpan.org/authors/id/S/SB/SBURKE
|
||||
@@ -40,25 +40,21 @@ PostScript, or RTF.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Gisle Aas <gisle@aas.no>
|
||||
Sean M. Burke <sburke@cpan.org>
|
||||
|
||||
%prep
|
||||
%setup -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make %{?_smp_mflags}
|
||||
%{__perl} Build.PL
|
||||
./Build
|
||||
|
||||
%check
|
||||
make test
|
||||
./Build test
|
||||
|
||||
%install
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
./Build install destdir=$RPM_BUILD_ROOT installdirs=vendor
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
||||
|
Reference in New Issue
Block a user