Package cleanup

f38
Petr Šabata 9 years ago
parent d01eaf5c84
commit e2037c279b

@ -1,16 +1,20 @@
Name: perl-Text-German
Version: 0.06
Release: 15%{?dist}
Release: 16%{?dist}
Summary: German grundform reduction
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-German/
Source0: http://www.cpan.org/authors/id/U/UL/ULPFR/Text-German-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
# Build
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Runtime
BuildRequires: perl(Exporter)
# Tests only
# -
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
This is a rather incomplete implementation of work done by Gudrun Putze-Meier.
@ -19,27 +23,25 @@ This is a rather incomplete implementation of work done by Gudrun Putze-Meier.
%setup -q -n Text-German-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
%files
%defattr(-,root,root,-)
%doc README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Mar 02 2016 Petr Šabata <contyk@redhat.com> - 0.06-16
- Package cleanup
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.06-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Loading…
Cancel
Save