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