Anonymous avatar Anonymous committed d846a00

Fix building the "rpmbuild -tb" and bumped the version number to 0.6700.

Comments (0)

Files changed (5)

modules/Mail-LMLM/Changes

+0.6700    ( Tue Feb 23 22:34:27 IST 2010 )
+    - Fix the building of the rpm using rpmbuild -tb Mail-LMLM-0.6600.tar.gz
+
 0.6600:   ( Tue Feb 23 22:24:23 IST 2010 )
     - Add support for Google Groups mailing lists (under the "google" type).
 

modules/Mail-LMLM/META.yml

 provides:
   Mail::LMLM:
     file: lib/Mail/LMLM.pm
-    version: 0.6600
+    version: 0.6700
   Mail::LMLM::Object:
     file: lib/Mail/LMLM/Object.pm
   Mail::LMLM::Render:
   Test::More: 0
 resources:
   license: http://www.opensource.org/licenses/bsd-license.php
-version: 0.6600
+version: 0.6700

modules/Mail-LMLM/lib/Mail/LMLM.pm

 
 use vars qw($VERSION);
 
-$VERSION = '0.6600';
+$VERSION = '0.6700';
 
 use vars qw(@ISA);
 

modules/Mail-LMLM/perl-Mail-LMLM.spec

 Name: perl-Mail-LMLM
-Version: 0.6600
+Version: 0.6700
 Release: 1
 Group: Networking/Mail
 Source: http://www.cpan.org/modules/by-authors/id/S/SH/SHLOMIF/Mail-LMLM-%{version}.tar.gz
 
 
 %build
-%{__perl} Makefile.PL PREFIX=%{prefix} < /dev/null
-make OPTIMIZE="$RPM_OPT_FLAGS" PREFIX=%{prefix}
-make test
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%check
+./Build test
 
 %install
-rm -rf $RPM_BUILD_ROOT
-%makeinstall PREFIX=$RPM_BUILD_ROOT%{prefix} INSTALLMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 INSTALLMAN3DIR=$RPM_BUILD_ROOT%{_mandir}/man3 INSTALLSITEMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 INSTALLSITEMAN3DIR=$RPM_BUILD_ROOT%{_mandir}/man3 INSTALLVENDORMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 INSTALLVENDORMAN3DIR=$RPM_BUILD_ROOT%{_mandir}/man3
-rm -f `find $RPM_BUILD_ROOT -name perllocal.pod`
+rm -rf %{buildroot}
+./Build install destdir=%{buildroot}
 
 %clean
-rm -fr $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %files
 %defattr (-,root,root)
 %doc README TODO MANIFEST COPYING INSTALL
 %{_mandir}/*/*
-%{_libdir}/perl5/site_perl/*/Mail
+%{_libdir}/perl5/vendor_perl/*
 
 %changelog
 * Thu Jun 19 2003 Shlomi Fish <shlomif@vipe.technion.ac.il> 0.5.15-1

modules/Mail-LMLM/perl-Mail-LMLM.spec.in

 
 
 %build
-%{__perl} Makefile.PL PREFIX=%{prefix} < /dev/null
-make OPTIMIZE="$RPM_OPT_FLAGS" PREFIX=%{prefix}
-make test
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%check
+./Build test
 
 %install
-rm -rf $RPM_BUILD_ROOT
-%makeinstall PREFIX=$RPM_BUILD_ROOT%{prefix} INSTALLMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 INSTALLMAN3DIR=$RPM_BUILD_ROOT%{_mandir}/man3 INSTALLSITEMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 INSTALLSITEMAN3DIR=$RPM_BUILD_ROOT%{_mandir}/man3 INSTALLVENDORMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 INSTALLVENDORMAN3DIR=$RPM_BUILD_ROOT%{_mandir}/man3
-rm -f `find $RPM_BUILD_ROOT -name perllocal.pod`
+rm -rf %{buildroot}
+./Build install destdir=%{buildroot}
 
 %clean
-rm -fr $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %files
 %defattr (-,root,root)
 %doc README TODO MANIFEST COPYING INSTALL
 %{_mandir}/*/*
-%{_libdir}/perl5/site_perl/*/Mail
+%{_libdir}/perl5/vendor_perl/*
 
 %changelog
 * Thu Jun 19 2003 Shlomi Fish <shlomif@vipe.technion.ac.il> 0.5.15-1
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.