Modernize the spec and drop command macros
This commit is contained in:
parent
a6c184eac1
commit
3683608081
@ -1,6 +1,6 @@
|
|||||||
Name: perl-HTTP-Negotiate
|
Name: perl-HTTP-Negotiate
|
||||||
Version: 6.01
|
Version: 6.01
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Choose a variant to serve
|
Summary: Choose a variant to serve
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -13,7 +13,7 @@ BuildRequires: perl(HTTP::Headers) >= 6
|
|||||||
# Tests only:
|
# Tests only:
|
||||||
BuildRequires: perl(Test)
|
BuildRequires: perl(Test)
|
||||||
BuildRequires: perl(HTTP::Request)
|
BuildRequires: perl(HTTP::Request)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
Requires: perl(HTTP::Headers) >= 6
|
Requires: perl(HTTP::Headers) >= 6
|
||||||
Conflicts: perl-libwww-perl < 6
|
Conflicts: perl-libwww-perl < 6
|
||||||
|
|
||||||
@ -31,14 +31,13 @@ value of the various Accept* header fields in the request.
|
|||||||
%setup -q -n HTTP-Negotiate-%{version}
|
%setup -q -n HTTP-Negotiate-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
%{_fixperms} %{buildroot}/*
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@ -49,6 +48,9 @@ make test
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 14 2012 Petr Šabata <contyk@redhat.com> - 6.01-4
|
||||||
|
- Modernize the spec and drop command macros
|
||||||
|
|
||||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.01-3
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.01-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user