update which should fix RT#66753
- clean specfile according to new guidelines
This commit is contained in:
parent
d056390b3c
commit
87b4183831
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
perl-ldap-0.40.tar.gz
|
||||
/perl-ldap-0.44.tar.gz
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: perl-LDAP
|
||||
Version: 0.40
|
||||
Release: 6%{?dist}
|
||||
Version: 0.44
|
||||
Release: 1%{?dist}
|
||||
Epoch: 1
|
||||
Summary: LDAP Perl module
|
||||
|
||||
@ -8,16 +8,23 @@ Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/perl-ldap/
|
||||
Source0: http://www.cpan.org/authors/id/G/GB/GBARR/perl-ldap-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
# [Core Features]
|
||||
BuildRequires: perl(Convert::ASN1)
|
||||
BuildRequires: perl(IO::Socket::SSL)
|
||||
# [optional modules]
|
||||
BuildRequires: perl(Authen::SASL) >= 2.00
|
||||
BuildRequires: perl(URI::ldap) >= 1.1
|
||||
BuildRequires: perl(MIME::Base64)
|
||||
BuildRequires: perl(XML::SAX::Writer)
|
||||
# [test]
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(LWP::UserAgent)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(IO::Socket::SSL)
|
||||
Requires: perl(Authen::SASL)
|
||||
|
||||
|
||||
%description
|
||||
Net::LDAP is a collection of modules that implements a LDAP services API
|
||||
for Perl programs. The module may be used to search directories or perform
|
||||
@ -44,7 +51,6 @@ chmod +x %{__perl_provides}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install DESTDIR=$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 ';'
|
||||
@ -53,12 +59,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes CREDITS
|
||||
%doc contrib/ bin/
|
||||
%{perl_vendorlib}/Bundle/
|
||||
@ -68,6 +69,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 6 2012 Marcela Maslanova <mmaslano@redhat.com> - 1:0.44-1
|
||||
- update which should fix RT#66753
|
||||
- clean specfile according to new guidelines
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.40-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user