Group :: Desenvolvimento/Perl
RPM: perl-Time-Warp
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
Group: Development/Perl
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Time-Warp
Version: 0.55
Release: alt1
License: GPL+ or Artistic
Summary: Control over the flow of time
Source0: http://www.cpan.org/authors/id/M/MA/MANWAR/Time-Warp-%{version}.tar.gz
Url: https://metacpan.org/release/Time-Warp
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl-devel
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Run-time:
BuildRequires: perl(DynaLoader.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(vars.pm)
# Optional run-time:
BuildRequires: perl(Time/HiRes.pm)
# Tests:
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(warnings.pm)
Source44: import.info
%description
Our external experience unfolds in 3 1/2 dimensions (time has a
dimensionality of 1/2). The Time::Warp module offers developers control
over the measurement of time.
%prep
%setup -q -n Time-Warp-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.bs' -a -size 0 -delete
# %{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README
%{perl_vendor_archlib}/*
%changelog
…
Todas as alterações você pod ver aqui
Group: Development/Perl
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Time-Warp
Version: 0.55
Release: alt1
License: GPL+ or Artistic
Summary: Control over the flow of time
Source0: http://www.cpan.org/authors/id/M/MA/MANWAR/Time-Warp-%{version}.tar.gz
Url: https://metacpan.org/release/Time-Warp
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl-devel
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Run-time:
BuildRequires: perl(DynaLoader.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(vars.pm)
# Optional run-time:
BuildRequires: perl(Time/HiRes.pm)
# Tests:
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(warnings.pm)
Source44: import.info
%description
Our external experience unfolds in 3 1/2 dimensions (time has a
dimensionality of 1/2). The Time::Warp module offers developers control
over the measurement of time.
%prep
%setup -q -n Time-Warp-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.bs' -a -size 0 -delete
# %{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README
%{perl_vendor_archlib}/*
%changelog
…
Todas as alterações você pod ver aqui