/[packages]/updates/infra_2/perl-RPM4/current/SPECS/perl-RPM4.spec
ViewVC logotype

Diff of /updates/infra_2/perl-RPM4/current/SPECS/perl-RPM4.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 165903 by tv, Tue Oct 18 21:14:33 2011 UTC revision 165904 by tv, Wed Nov 9 13:06:18 2011 UTC
# Line 3  Line 3 
3    
4  %define module  RPM4  %define module  RPM4
5  %define name    perl-%{module}  %define name    perl-%{module}
6  %define version 0.23  %define version 0.24
7  %define release %mkrel 15  %define release %mkrel 0.1
8    
9  %define rpm_version %(rpm -q --queryformat '%|EPOCH?{[%{EPOCH}:%{VERSION}]}:{%{VERSION}}|' rpm)  %define rpm_version %(rpm -q --queryformat '%|EPOCH?{[%{EPOCH}:%{VERSION}]}:{%{VERSION}}|' rpm)
10    
# Line 15  Summary:       Perl bindings to use rpmlib and Line 15  Summary:       Perl bindings to use rpmlib and
15  License:        GPL  License:        GPL
16  Group:          Development/Perl  Group:          Development/Perl
17  Source:         %{module}-%{version}.tar.gz  Source:         %{module}-%{version}.tar.gz
 Patch0:         RPM4-fix-build-with-rpm46.patch  
 Patch1:         RPM4-0.23-rpm48.patch  
 # (tv) drop support for rpm-4.4.x (too much ifdef/else/endif spaghetti and already broken since rpm-4.6 & rpm-4.8 support patches)  
 Patch2:         RPM4-0.23-drop-support-for-rpm44.diff  
 # (tv) declare 4.8.0 & 4.8.1 in order to make 4.9.x checks work:  
 Patch3:         RPM4-0.23-rpm48-bis.patch  
 # (tv) initial rpm-4.9.x support:  
 Patch4:         RPM4-0.23-rpm49.patch  
18  Url:            http://search.cpan.org/dist/RPM4/  Url:            http://search.cpan.org/dist/RPM4/
19    
20  BuildRequires:  perl-devel >= 5.8.0  BuildRequires:  perl-devel >= 5.8.0
# Line 52  It include: Line 44  It include:
44    
45  %prep  %prep
46  %setup -q -n %{module}-%{version}  %setup -q -n %{module}-%{version}
 %patch0 -p1 -b .rpm46  
 %patch1 -p1  
 %patch2 -p1  
 %patch3 -p1  
 %patch4 -p1  
47    
48  %build  %build
49  %{__perl} Makefile.PL INSTALLDIRS=vendor  %{__perl} Makefile.PL INSTALLDIRS=vendor

Legend:
Removed from v.165903  
changed lines
  Added in v.165904

  ViewVC Help
Powered by ViewVC 1.1.30