Group :: Development/Perl
RPM: perl-Linux-Personality
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(AutoLoader.pm) perl(Exporter.pm) perl(XSLoader.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%define upstream_name Linux-Personality
%define upstream_version 0.01
%{?perl_default_filter}
Name: perl-%{upstream_name}
Version: %{upstream_version}
Release: alt4_20
Summary: Perl interface to the personality(2) Linux system call
License: GPL+ or Artistic
Group: Development/Perl
Url: https://metacpan.org/release/%{upstream_name}
Source0: https://cpan.metacpan.org/modules/by-module/Linux/%{upstream_name}-%{upstream_version}.tar.gz
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl-devel
Source44: import.info
%description
This is a Perl interface to the personality(2) Linux system call.
You can use this for instance when running 32bit compiles started from
inside a Perl program in a 32bit chroot but running on a 64bit host kernel.
Without hints the compile tools get confused and try do do 64bit in the
32bit environment.
It's somewhat comparable to the 'setarch' (also known as 'linux32')
utility. With 'personality' you can get similar effect inside a Perl
program.
%prep
%setup -q -n %{upstream_name}-%{upstream_version}
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%make_build test
%install
%makeinstall_std
%files
%doc ChangeLog README META.yml
%perl_vendor_archlib/*
%changelog
…
Full changelog you can see here
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(AutoLoader.pm) perl(Exporter.pm) perl(XSLoader.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%define upstream_name Linux-Personality
%define upstream_version 0.01
%{?perl_default_filter}
Name: perl-%{upstream_name}
Version: %{upstream_version}
Release: alt4_20
Summary: Perl interface to the personality(2) Linux system call
License: GPL+ or Artistic
Group: Development/Perl
Url: https://metacpan.org/release/%{upstream_name}
Source0: https://cpan.metacpan.org/modules/by-module/Linux/%{upstream_name}-%{upstream_version}.tar.gz
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl-devel
Source44: import.info
%description
This is a Perl interface to the personality(2) Linux system call.
You can use this for instance when running 32bit compiles started from
inside a Perl program in a 32bit chroot but running on a 64bit host kernel.
Without hints the compile tools get confused and try do do 64bit in the
32bit environment.
It's somewhat comparable to the 'setarch' (also known as 'linux32')
utility. With 'personality' you can get similar effect inside a Perl
program.
%prep
%setup -q -n %{upstream_name}-%{upstream_version}
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%make_build test
%install
%makeinstall_std
%files
%doc ChangeLog README META.yml
%perl_vendor_archlib/*
%changelog
…
Full changelog you can see here