[svn] r9794 - /trunk/rpms/perl-DateTime/perl-DateTime.spec

Yury V. Zaytsev yury at shurup.com
Sun Apr 3 00:01:42 CEST 2011


Author: yury
Date: Sat Apr  2 23:01:42 2011
New Revision: 9794

URL: http://svn.rpmforge.net/viewvc/rpmforge?rev=9794&view=rev
Log:
Fix for the RPM to build (download real version, instead of the fake version)


Modified:
    trunk/rpms/perl-DateTime/perl-DateTime.spec

Modified: trunk/rpms/perl-DateTime/perl-DateTime.spec
URL: http://svn.rpmforge.net/viewvc/rpmforge/trunk/rpms/perl-DateTime/perl-DateTime.spec?rev=9794&r1=9793&r2=9794&view=diff
==============================================================================
--- trunk/rpms/perl-DateTime/perl-DateTime.spec (original)
+++ trunk/rpms/perl-DateTime/perl-DateTime.spec Sat Apr  2 23:01:42 2011
@@ -9,17 +9,18 @@
 %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
 
 %define real_name DateTime
+%define real_version 0.53
 
 Summary: Date and time objects
 Name: perl-DateTime
-Version: 0.5300
+Version: %{real_version}00
 Release: 2%{?dist}
 License: Artistic/GPL
 Group: Applications/CPAN
 URL: http://search.cpan.org/dist/DateTime/
 
-Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-%{real_version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{real_version}-%{release}-root
 
 BuildRequires: perl(DateTime::Locale) >= 0.41
 BuildRequires: perl(DateTime::TimeZone) >= 0.59
@@ -53,7 +54,7 @@
 module.
 
 %prep
-%setup -n %{real_name}-%{version}
+%setup -n %{real_name}-%{real_version}
 
 %build
 %{__perl} Build.PL --installdirs vendor --destdir %{buildroot}




More information about the commits mailing list