Modernize spec.
This commit is contained in:
parent
2479dbdd61
commit
af4610e533
@ -3,7 +3,7 @@
|
||||
|
||||
Name: perl-gettext
|
||||
Version: 1.07
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Interface to gettext family of functions
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -49,14 +49,12 @@ internationalize software.
|
||||
%setup -q -n %{tarname}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" 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 -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
|
||||
@ -72,6 +70,9 @@ make test
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Jan 31 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-2
|
||||
- Modernize spec.
|
||||
|
||||
* Thu Nov 26 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-1
|
||||
- Upstream update.
|
||||
- Reflect upstream having changed tarball name to Locale-gettext.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user