0.49 bump

This commit is contained in:
Petr Písař 2012-10-08 10:28:38 +02:00
parent 27b717013e
commit 8c90a59301
3 changed files with 8 additions and 16 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ perl-ldap-0.40.tar.gz
/perl-ldap-0.44.tar.gz
/perl-ldap-0.46.tar.gz
/perl-ldap-0.47.tar.gz
/perl-ldap-0.49.tar.gz

View File

@ -1,14 +1,12 @@
Name: perl-LDAP
Version: 0.47
Version: 0.49
Release: 1%{?dist}
Epoch: 1
Summary: LDAP Perl module
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/perl-ldap/
Source0: http://www.cpan.org/authors/id/M/MA/MARSCHAP/perl-ldap-%{version}.tar.gz
BuildArch: noarch
# [Core Features]
BuildRequires: perl(Carp)
@ -40,6 +38,8 @@ BuildRequires: perl(LWP::UserAgent)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Authen::SASL)
# Remove under-specified dependencies
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Net::LDAP::Filter\\)$
%description
Net::LDAP is a collection of modules that implements a LDAP services API
@ -57,25 +57,13 @@ rm -rf inc
sed -i -e '/^inc\// d' MANIFEST
find -type f -exec chmod -x {} +
# 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
ls
%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
make %{?_smp_mflags}
%install
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 ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
@ -91,6 +79,9 @@ make test
%changelog
* Mon Oct 08 2012 Petr Pisar <ppisar@redhat.com> - 1:0.49-1
- 0.49 bump
* Mon Sep 17 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.47-1
- 0.47 bump

View File

@ -1 +1 @@
6c07570fad017f594deb3af7e4398e58 perl-ldap-0.47.tar.gz
191f33fdd3b70156699f4620d8d10cca perl-ldap-0.49.tar.gz