[perl-WWW-Google-Contacts/f16] New upstream version, added example script and made the build more reliable
aviram
aviram at fedoraproject.org
Wed Apr 25 12:06:50 UTC 2012
commit 29f60420bca979e0d2693e059bcfbe471ed00831
Author: Avi Alkalay <avibrazil at gmail.com>
Date: Wed Apr 25 09:05:25 2012 -0300
New upstream version, added example script and made the build more reliable
perl-WWW-Google-Contacts.spec | 24 +++++++++++++++++++++---
1 files changed, 21 insertions(+), 3 deletions(-)
---
diff --git a/example.pl b/example.pl
old mode 100755
new mode 100644
diff --git a/perl-WWW-Google-Contacts.spec b/perl-WWW-Google-Contacts.spec
index f522044..fc47a09 100644
--- a/perl-WWW-Google-Contacts.spec
+++ b/perl-WWW-Google-Contacts.spec
@@ -1,11 +1,12 @@
Name: perl-WWW-Google-Contacts
-Version: 0.33
-Release: 3%{?dist}
+Version: 0.34
+Release: 1%{?dist}
Summary: Use Perl to access, list and edit Google Contacts
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/WWW-Google-Contacts/
Source0: http://www.cpan.org/authors/id/M/ME/MERIXZON/WWW-Google-Contacts-%{version}.tar.gz
+Source1: example.pl
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Class::MOP) >= 1.09
@@ -47,10 +48,20 @@ http://code.google.com/apis/contacts/docs/3.0/developers_guide_protocol.html
%setup -q -n WWW-Google-Contacts-%{version}
%build
+unset PERL5LIB
+unset PERL_LOCAL_LIB_ROOT
+unset PERL_MB_OPT
+unset PERL_MM_OPT
+
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
+unset PERL5LIB
+unset PERL_LOCAL_LIB_ROOT
+unset PERL_MB_OPT
+unset PERL_MM_OPT
+
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
@@ -58,6 +69,8 @@ make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+cp %{SOURCE1} .
+
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@@ -68,11 +81,16 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc Changes dist.ini LICENSE README
+%doc Changes dist.ini LICENSE README example.pl
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Tue Apr 24 2012 Avi Alkalay <avibrazil at gmail.com> 0.34-1
+- Upstream update
+- Unset various PERL* shell variables comonly used by people that use CPAN to compile and install Perl modules on their home directory
+- API documentation is quite poor so I'm adding an example script
+
* Wed Mar 21 2012 Avi Alkalay <avi at unix.sh> 0.33-3
- Removed duplicate Requires
- Refined for Fedora and EPEL sponsorship
More information about the scm-commits
mailing list