Filter out provides perl(Net::LDAP::Filter) per package review.
This commit is contained in:
parent
c4fd97373e
commit
bab3a795dd
@ -1,7 +1,7 @@
|
||||
Name: perl-LDAP
|
||||
Version: 0.34
|
||||
Release: 1%{?dist}
|
||||
Epoch: 1
|
||||
Release: 1%{?dist}
|
||||
Epoch: 2
|
||||
Summary: LDAP Perl module
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -13,8 +13,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Convert::ASN1)
|
||||
BuildRequires: perl(IO::Socket::SSL)
|
||||
Buildrequires: perl(Test::Harness)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(IO::Socket::SSL)
|
||||
Requires: perl(IO::Socket::SSL)
|
||||
#Wish list
|
||||
#Requires: perl(Authen::SASL)
|
||||
|
||||
@ -29,6 +30,16 @@ maintenance functions such as adding, deleting or modifying entries.
|
||||
chmod -c 644 bin/* contrib/* lib/Net/LDAP/DSML.pm
|
||||
%{__perl} -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' contrib/*
|
||||
|
||||
# Filter unwanted Provides:
|
||||
cat << \EOF > %{name}-prov
|
||||
#!/bin/sh
|
||||
%{__perl_provides} $* |\
|
||||
sed -e '/perl(Net::LDAP::Filter)/d'
|
||||
EOF
|
||||
|
||||
%define __perl_provides %{_builddir}/perl-ldap-%{version}/%{name}-prov
|
||||
chmod +x %{__perl_provides}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
|
||||
make %{?_smp_mflags}
|
||||
@ -58,6 +69,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Apr 05 2007 Robin Norwood <rnorwood@redhat.com> - 1:0.34-2
|
||||
- Resolves: bz#226267
|
||||
- Filter out provides perl(Net::LDAP::Filter) per package review.
|
||||
|
||||
* Tue Feb 13 2007 Robin Norwood <rnorwood@redhat.com> - 1:0.34-1
|
||||
- New version: 0.34
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user