Mageia Bugzilla – Attachment 8548 Details for
Bug 19571
overflow when querying for size with urpmq
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
patch for perl-URPM.spec
perl-URPM.spec (text/x-rpm-spec), 2.03 KB, created by
Giuseppe Ghibò
on 2016-10-16 15:37:07 CEST
(
hide
)
Description:
patch for perl-URPM.spec
Filename:
MIME Type:
Creator:
Giuseppe Ghibò
Created:
2016-10-16 15:37:07 CEST
Size:
2.03 KB
patch
obsolete
>%define real_name URPM >%define group %(perl -e 'printf "%%s\\n", "%_vendor" =~ /\\bmandr|\\bmageia/i ? "Development/Perl" : "Applications/CPAN"') > >%define rpm_version %(rpm -q --queryformat '%|EPOCH?{[%{EPOCH}:%{VERSION}]}:{%{VERSION}}|' rpm) > >%{expand:%%global compat_makeinstall_std %(perl -e 'printf "%%s\n", "%{?make_install:1}" ? "%%make_install" : "%%{__make} install PREFIX=%%{buildroot}%%{_prefix}"')} >%{expand:%%global compat_perl_vendorarch %(perl -MConfig -e 'printf "%%s\n", "%{?perl_vendorarch:1}" ? "%%{perl_vendorarch}" : "$Config{installvendorarch}"')} > >Summary: Librpm perl bindings for urpmi >Name: perl-URPM >Version: 5.08 >Release: %mkrel 2.4 >License: GPL or Artistic >Group: %group >Source: %{real_name}-%{version}.tar.xz >Patch0: 0001-fix-compiling-on-32bit.patch >Patch2: perl-URPM-overflow-full64bit-new.patch >VCS: http://gitweb.mageia.org/software/rpm/perl-URPM/ >URL: http://search.cpan.org/~tvignaud/URPM/URPM.pm >BuildRequires: perl-devel >BuildRequires: pkgconfig(rpm) >= 4.12.90 >BuildRequires: perl(MDV::Packdrakeng) >BuildRequires: perl-Math-Int64 >BuildRequires: perl-Devel-PPPort ># For tests: >BuildRequires: perl-Test-Pod > ># we can now expect librpm API to be backward compatible >Requires: rpm >= %{rpm_version} >Requires: perl(MDV::Packdrakeng) >Provides: perl(URPM::Build) = %{version}-%{release} >Provides: perl(URPM::Resolve) = %{version}-%{release} >Provides: perl(URPM::Signature) = %{version}-%{release} >Conflicts: urpmi < 8.102 > > >%global __requires_exclude perl\\(URPM::DB\\)|perl\\(URPM::Package\\)|perl\\(URPM::Transaction\\) > >%description >The URPM module allows you to manipulate rpm files, rpm header files and >hdlist files and manage them in memory. > >%prep >%setup -q -n %{real_name}-%{version} >%autopatch -p1 > >%build >%{__perl} Makefile.PL INSTALLDIRS=vendor >%{__make} OPTIMIZE="$RPM_OPT_FLAGS" > >%check >%{__make} test > >%install >%{compat_makeinstall_std} > >%files >%doc README NEWS >%{_mandir}/man3/* >%{compat_perl_vendorarch}/URPM.pm >%{compat_perl_vendorarch}/URPM >%dir %{compat_perl_vendorarch}/auto/URPM >%{compat_perl_vendorarch}/auto/URPM/URPM.so
%define real_name URPM %define group %(perl -e 'printf "%%s\\n", "%_vendor" =~ /\\bmandr|\\bmageia/i ? "Development/Perl" : "Applications/CPAN"') %define rpm_version %(rpm -q --queryformat '%|EPOCH?{[%{EPOCH}:%{VERSION}]}:{%{VERSION}}|' rpm) %{expand:%%global compat_makeinstall_std %(perl -e 'printf "%%s\n", "%{?make_install:1}" ? "%%make_install" : "%%{__make} install PREFIX=%%{buildroot}%%{_prefix}"')} %{expand:%%global compat_perl_vendorarch %(perl -MConfig -e 'printf "%%s\n", "%{?perl_vendorarch:1}" ? "%%{perl_vendorarch}" : "$Config{installvendorarch}"')} Summary: Librpm perl bindings for urpmi Name: perl-URPM Version: 5.08 Release: %mkrel 2.4 License: GPL or Artistic Group: %group Source: %{real_name}-%{version}.tar.xz Patch0: 0001-fix-compiling-on-32bit.patch Patch2: perl-URPM-overflow-full64bit-new.patch VCS: http://gitweb.mageia.org/software/rpm/perl-URPM/ URL: http://search.cpan.org/~tvignaud/URPM/URPM.pm BuildRequires: perl-devel BuildRequires: pkgconfig(rpm) >= 4.12.90 BuildRequires: perl(MDV::Packdrakeng) BuildRequires: perl-Math-Int64 BuildRequires: perl-Devel-PPPort # For tests: BuildRequires: perl-Test-Pod # we can now expect librpm API to be backward compatible Requires: rpm >= %{rpm_version} Requires: perl(MDV::Packdrakeng) Provides: perl(URPM::Build) = %{version}-%{release} Provides: perl(URPM::Resolve) = %{version}-%{release} Provides: perl(URPM::Signature) = %{version}-%{release} Conflicts: urpmi < 8.102 %global __requires_exclude perl\\(URPM::DB\\)|perl\\(URPM::Package\\)|perl\\(URPM::Transaction\\) %description The URPM module allows you to manipulate rpm files, rpm header files and hdlist files and manage them in memory. %prep %setup -q -n %{real_name}-%{version} %autopatch -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} OPTIMIZE="$RPM_OPT_FLAGS" %check %{__make} test %install %{compat_makeinstall_std} %files %doc README NEWS %{_mandir}/man3/* %{compat_perl_vendorarch}/URPM.pm %{compat_perl_vendorarch}/URPM %dir %{compat_perl_vendorarch}/auto/URPM %{compat_perl_vendorarch}/auto/URPM/URPM.so
View Attachment As Raw
Actions:
View
Attachments on
bug 19571
:
8522
|
8523
|
8525
|
8528
|
8529
|
8530
|
8531
|
8537
|
8538
|
8539
|
8541
|
8542
|
8543
|
8547
|
8548
|
8549
|
8563
|
8564
|
8565
|
8566