Package cleanup

epel9
Petr Šabata 9 years ago
parent ae209b2581
commit 90de23b092

@ -1,18 +1,24 @@
Name: perl-Convert-Bencode
Version: 1.03
Release: 13%{?dist}
Release: 14%{?dist}
Summary: Functions for converting to/from bencoded strings
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Convert-Bencode/
Source0: http://www.cpan.org/authors/id/O/OR/ORCLEV/Convert-Bencode-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Runtime
BuildRequires: perl(bytes)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(locale)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Tests only
BuildRequires: perl(Test::More) >= 0.45
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
This module provides two functions, bencode and bdecode, which encode and
@ -22,27 +28,26 @@ decode bencoded strings respectively.
%setup -q -n Convert-Bencode-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
make test
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README Todo
%license LICENSE
%doc Changes README Todo
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Jan 26 2016 Petr Šabata <contyk@redhat.com> - 1.03-14
- Package cleanup
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

Loading…
Cancel
Save