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
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f367ecc770cfc93c2b8f99843eba06b086608ad9e0df8424e306f89996c2c5b9
|
|
||||||
size 39026
|
|
3
HTML-Format-2.07.tar.bz2
Normal file
3
HTML-Format-2.07.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:15c74176ba519cd5618a74a178efb141be14145cce343a0aef50c842352b8b21
|
||||||
|
size 37917
|
@@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 22 12:06:04 UTC 2011 - vcizek@novell.com
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 21 14:43:20 UTC 2011 - vcizek@novell.com
|
Mon Feb 21 14:43:20 UTC 2011 - vcizek@novell.com
|
||||||
|
|
||||||
|
@@ -22,12 +22,12 @@ Name: perl-HTML-Format
|
|||||||
%define cpan_name HTML-Format
|
%define cpan_name HTML-Format
|
||||||
BuildRequires: perl-File-Slurp perl-Font-AFM perl-HTML-Tree
|
BuildRequires: perl-File-Slurp perl-Font-AFM perl-HTML-Tree
|
||||||
BuildRequires: perl(Test::More) >= 0.96 perl-macros
|
BuildRequires: perl(Test::More) >= 0.96 perl-macros
|
||||||
License: Artistic ; GPLv2+
|
License: GPLv2+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Requires: perl-HTML-Parser perl-HTML-Tagset perl-Font-AFM perl-HTML-Tree
|
Requires: perl-HTML-Parser perl-HTML-Tagset perl-Font-AFM perl-HTML-Tree
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Summary: Perl Modules to Format HTML into Plain Text, PostScript, or RTF
|
Summary: Perl Modules to Format HTML into Plain Text, PostScript, or RTF
|
||||||
Version: 2.05
|
Version: 2.07
|
||||||
Release: 1
|
Release: 1
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
Url: http://cpan.org/authors/id/S/SB/SBURKE
|
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
|
%prep
|
||||||
%setup -n %{cpan_name}-%{version}
|
%setup -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
%{__perl} Build.PL
|
||||||
make %{?_smp_mflags}
|
./Build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
[ "$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_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
Reference in New Issue
Block a user