]> git.pld-linux.org Git - packages/perl-ldap.git/commitdiff
- updated to 0.33 auto/ac/perl-ldap-0_33-1
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 2 Jan 2006 15:53:39 +0000 (15:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- clean check-files
- tests disabled due needing ldap server and fetching gpg key via hkp
- Obsoletes: perl-LDAP for upgrades from fedora core

Changed files:
    perl-ldap.spec -> 1.58

perl-ldap.spec

index de29b72d3a2cf3cd2034c8e85b3f9e587d8b99fe..c02d12b3bdb26a2a85b0c1bb27e179efd5f401fc 100644 (file)
@@ -1,19 +1,19 @@
 #
 # Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_with    tests # perform "make test" (requires working ldap server and gnupg configured with key retrieval with hkp)
 #
 %include       /usr/lib/rpm/macros.perl
 Summary:       perl-ldap module - a client interface to LDAP servers
 Summary(pl):   Modu³ perl-ldap - kliencki interfejs do serwerów LDAP
 Name:          perl-ldap
-Version:       0.3202
+Version:       0.33
 Release:       1
 Epoch:         2
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/Net/%{name}-%{version}.tar.gz
-# Source0-md5: 57dc6214d06b4e9e2a3b0f778aa40261
+# Source0-md5: 7002aedb8bcaa7169a8f0a8e22d34b72
 URL:           http://ldap.perl.org/
 %if %{with tests}
 BuildRequires: perl-Authen-SASL >= 2.00
@@ -29,6 +29,7 @@ BuildRequires:        perl-libwww
 BuildRequires: perl-ExtUtils-AutoInstall
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
+Obsoletes:     perl-LDAP
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -43,7 +44,7 @@ perl-ldap to zestaw modu
 poziomu programów w Perlu.
 
 %prep
-%setup -q -n perl-ldap-%{version}
+%setup -q
 
 %build
 %{__perl} Makefile.PL \
@@ -59,10 +60,14 @@ find blib -type f | xargs -r perl -pi -e 's|/local/bin/perl\d*|/bin/perl|g'
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-%{__make} install \
+%{__make} pure_install \
        DESTDIR=$RPM_BUILD_ROOT
 cp -r {contrib,bin} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Net/LDAP/.packlist
+rm -f $RPM_BUILD_ROOT%{_mandir}/man3/Bundle::Net::LDAP.3pm
+rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/{Bundle/Net/LDAP.pm,Net/{,LDAP/}*.pod}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.033391 seconds and 4 git commands to generate.