Package cleanup

f38
Petr Šabata 9 years ago
parent b924a020f2
commit 348313dbd3

@ -1,17 +1,27 @@
Name: perl-Snowball-Norwegian Name: perl-Snowball-Norwegian
Version: 1.2 Version: 1.2
Release: 15%{?dist} Release: 16%{?dist}
Summary: Porter's stemming algorithm for Norwegian Summary: Porter's stemming algorithm for Norwegian
License: GPLv2 or Artistic License: GPLv2 or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Snowball-Norwegian/ URL: http://search.cpan.org/dist/Snowball-Norwegian/
Source0: http://www.cpan.org/authors/id/A/AS/ASKSH/Snowball-Norwegian-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/A/AS/ASKSH/Snowball-Norwegian-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: perl
BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(bytes)
BuildRequires: perl(Carp)
BuildRequires: perl(vars)
# Tests only
BuildRequires: perl(English)
BuildRequires: perl(FileHandle)
BuildRequires: perl(FindBin)
BuildRequires: perl(Test::More) >= 0.42 BuildRequires: perl(Test::More) >= 0.42
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%{?perl_default_filter}
%description %description
The stem function takes a scalar as a parameter and stems the word according to The stem function takes a scalar as a parameter and stems the word according to
@ -20,30 +30,30 @@ Snowball website: http://snowball.tartarus.org/.
%prep %prep
%setup -q -n Snowball-Norwegian-%{version} %setup -q -n Snowball-Norwegian-%{version}
mv bin/stemmer-no.pl bin/stemmer-no mv bin/stemmer-no.pl bin/stemmer-no
%build %build
%{__perl} Build.PL installdirs=vendor perl Build.PL installdirs=vendor
./Build ./Build
%install %install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 ./Build install destdir=%{buildroot} create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/*
%{_fixperms} $RPM_BUILD_ROOT/*
%check %check
./Build test ./Build test
%files %files
%defattr(-,root,root,-) %license LICENSE
%doc Changes LICENSE README %doc Changes README examples
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_bindir}/* %{_bindir}/*
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Tue Mar 01 2016 Petr Šabata <contyk@redhat.com> - 1.2-16
- Package cleanup
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-15 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Loading…
Cancel
Save