[SVN] r2939 - in trunk/rpms: perl-CSS-Tiny perl-DateTime-Event-Lunar

svn-commits at rpmforge.net svn-commits at rpmforge.net
Fri Mar 4 14:19:54 CET 2005


Author: dries
Date: 2005-03-04 14:19:52 +0100 (Fri, 04 Mar 2005)
New Revision: 2939

Modified:
   trunk/rpms/perl-CSS-Tiny/perl-CSS-Tiny.spec
   trunk/rpms/perl-DateTime-Event-Lunar/perl-DateTime-Event-Lunar.spec
Log:
fix

Modified: trunk/rpms/perl-CSS-Tiny/perl-CSS-Tiny.spec
===================================================================
--- trunk/rpms/perl-CSS-Tiny/perl-CSS-Tiny.spec	2005-03-04 13:04:55 UTC (rev 2938)
+++ trunk/rpms/perl-CSS-Tiny/perl-CSS-Tiny.spec	2005-03-04 13:19:52 UTC (rev 2939)
@@ -22,7 +22,7 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildArch: noarch
-BuildRequires: perl
+BuildRequires: perl, perl-ExtUtils-AutoInstall
 
 %description
 CSS::Tiny is a perl class to read and write .css stylesheets with as

Modified: trunk/rpms/perl-DateTime-Event-Lunar/perl-DateTime-Event-Lunar.spec
===================================================================
--- trunk/rpms/perl-DateTime-Event-Lunar/perl-DateTime-Event-Lunar.spec	2005-03-04 13:04:55 UTC (rev 2938)
+++ trunk/rpms/perl-DateTime-Event-Lunar/perl-DateTime-Event-Lunar.spec	2005-03-04 13:19:52 UTC (rev 2939)
@@ -33,19 +33,23 @@
 %setup -n %{real_name}-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir=%{buildroot}
+%{__perl} Makefile.PL \
+	INSTALLDIRS="vendor" \
+	PREFIX=%{buildroot}%{_prefix}
 %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
 
 %install
 %{__rm} -rf %{buildroot}
 %makeinstall
+%{__rm} -rf %{buildroot}%{perl_archlib} \
+	%{buildroot}%{perl_vendorarch}
 
 %clean
 %{__rm} -rf %{buildroot}
 
 %files
 %defattr(-, root, root, 0755)
-%doc CHANGES TODO LICENSE
+%doc CHANGES LICENSE
 %doc %{_mandir}/man3/*
 %{perl_vendorlib}/DateTime/Event/Lunar.pm
 




More information about the commits mailing list