Compare commits

..

No commits in common. "064a621bc947a9990600734f2819d0b84ace3c37" and "a9a0a7038149d4bd19fc528bc7881d568f276ece" have entirely different histories.

3 changed files with 12 additions and 30 deletions

BIN
Pod-Usage-1.69.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,17 +1,14 @@
%define mod_name Pod-Usage
Name: perl-%{mod_name}
Name: perl-Pod-Usage
Epoch: 4
Version: 2.03
Release: 2
Version: 1.69
Release: 418
Summary: Print a usage message from embedded pod documentation
License: GPL+ or Artistic-1.0
URL: https://metacpan.org/release/%{mod_name}
Source0: https://cpan.metacpan.org/authors/id/M/MA/MAREKR/%{mod_name}-%{version}.tar.gz
License: GPL+ or Artistic
URL: https://metacpan.org/release/Pod-Usage
Source0: https://cpan.metacpan.org/authors/id/M/MA/MAREKR/Pod-Usage-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl make sed coreutils perl-generators perl-interpreter perl(Config) perl(warnings)
BuildRequires: perl make sed coreutils findutils perl-interpreter perl-generators perl(Config) perl(warnings)
BuildRequires: perl(Cwd) perl(ExtUtils::MakeMaker) perl(File::Basename) perl(File::Spec) perl(strict)
BuildRequires: perl(Carp) perl(Config) perl(Exporter) perl-Pod-Perldoc perl(Pod::Text) perl(vars)
#tests
@ -29,14 +26,14 @@ command line options and arguments. If the verbose level is 2, then the entire m
%package_help
%prep
%autosetup -n %{mod_name}-%{version} -p1
%autosetup -n Pod-Usage-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
perl Makefile.PL NO_PACKLIST=1 INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
%{make_install}
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@ -44,7 +41,7 @@ make test
%files
%defattr(-,root,root)
%doc README Changes
%doc README CHANGES
%{_bindir}/pod2usage
%{perl_vendorlib}/*
@ -54,21 +51,6 @@ make test
%{_mandir}/man3/*
%changelog
* Tue Nov 1 2022 hongjinghao <hongjinghao@huawei.com> - 4:2.03-2
- use %{mod_name} marco
* Tue Oct 25 2022 zhangyao <zhangyao108@huawei.com> - 4:2.03-1
- upgrade version to 2.03
* Wed Jul 28 2021 tianwei <tianwei12@huawei.com> - 4:2.01-2
- output should be empty for issue #I42T4q
* Tue Jan 26 2021 liudabo <liudabo1@huawei.com> - 4:2.01-1
- upgrade version to 2.01
* Sat Jul 25 2020 zhanzhimin <zhanzhimin@huawei.com> - 4:1.70-1
- 1.70 bump
* Thu Sep 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 4:1.69-418
- Package init