mirror of
https://abf.rosa.ru/djam/perl-Authen-Htpasswd.git
synced 2025-02-23 16:42:52 +00:00
- fix two upstream bugs
- fix deps SILENT: svn-revision: 290358
This commit is contained in:
parent
22a0137ad4
commit
876fdedd63
1 changed files with 7 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
%define name perl-%{realname}
|
%define name perl-%{realname}
|
||||||
%define modprefix Authen
|
%define modprefix Authen
|
||||||
%define version 0.16
|
%define version 0.16
|
||||||
%define release %mkrel 3
|
%define release %mkrel 4
|
||||||
|
|
||||||
Summary: Interface to read and modify Apache .htpasswd files
|
Summary: Interface to read and modify Apache .htpasswd files
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
|
@ -12,14 +12,17 @@ License: Artistic/GPL
|
||||||
Group: Development/Perl
|
Group: Development/Perl
|
||||||
URL: http://search.cpan.org/dist/%{realname}/
|
URL: http://search.cpan.org/dist/%{realname}/
|
||||||
Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{modprefix}/%{realname}-%{version}.tar.bz2
|
Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{modprefix}/%{realname}-%{version}.tar.bz2
|
||||||
|
Patch0: Authen-Htpasswd-0.16-bug27012.diff
|
||||||
|
Patch1: Authen-Htpasswd-0.16-bug37785.diff
|
||||||
%if %{mdkversion} < 1010
|
%if %{mdkversion} < 1010
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: perl(Class::Accessor::Fast)
|
BuildRequires: perl(Class::Accessor::Fast)
|
||||||
BuildRequires: perl(Digest)
|
BuildRequires: perl(Digest)
|
||||||
BuildRequires: perl(IO::LockedFile)
|
BuildRequires: perl(IO::LockedFile)
|
||||||
|
BuildRequires: perl(Crypt::PasswdMD5)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module provides a convenient, object-oriented interface to Apache-style
|
This module provides a convenient, object-oriented interface to Apache-style
|
||||||
|
@ -29,6 +32,8 @@ Digest::SHA1 for SHA1.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{realname}-%{version}
|
%setup -q -n %{realname}-%{version}
|
||||||
|
%patch0 -p0
|
||||||
|
%patch1 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
|
Loading…
Add table
Reference in a new issue