Author: glen                         Date: Thu Jul 27 22:06:03 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add PDIR/PNAM replace placeholders
- note about pldcpan

---- Files affected:
SPECS:
   template-perl.spec (1.36 -> 1.37) 

---- Diffs:

================================================================
Index: SPECS/template-perl.spec
diff -u SPECS/template-perl.spec:1.36 SPECS/template-perl.spec:1.37
--- SPECS/template-perl.spec:1.36       Mon Feb 20 19:43:46 2006
+++ SPECS/template-perl.spec    Fri Jul 28 00:05:58 2006
@@ -1,24 +1,26 @@
 # $Revision$, $Date$
+# NOTE
+# - you should consider using pldcpan for new perl packages
 #
 # Conditional build:
 %bcond_without autodeps        # don't BR packages needed only for resolving 
deps
 %bcond_without tests   # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
-%define                pdir    -
-%define                pnam    -
+%define                pdir    PDIR
+%define                pnam    PNAM
 Summary:       -
 Summary(pl):   -
-Name:          perl-
+Name:          perl-PDIR-PNAM
 Version:       -
 Release:       -
 # note if it is "same as perl"
 License:       (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
 Group:         Development/Languages/Perl
 Source0:       
http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-Patch0:                %{name}
+Patch0:                %{name}-foo.patch
 # most of CPAN modules have generic URL (substitute pdir and pnam here)
-#URL:          http://search.cpan.org/dist/%{pdir}-%{pnam}
+#URL:          http://search.cpan.org/dist/PDIR-PNAM/
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildRequires: -
@@ -66,7 +68,7 @@
 %files
 %defattr(644,root,root,755)
 %doc Changes README
-# note it's mostly easier to copy unpackaged filelist here, and run adapter 
over the spec.
+# NOTE it's mostly easier to copy unpackaged filelist here, and run adapter 
over the spec.
 # use macros:
 #%%{perl_vendorlib}/...
 #%%{perl_vendorarch}/...
@@ -78,6 +80,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.37  2006/07/27 22:05:58  glen
+- add PDIR/PNAM replace placeholders
+- note about pldcpan
+
 Revision 1.36  2006/02/20 18:43:46  qboosh
 - noted generic URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/template-perl.spec?r1=1.36&r2=1.37&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to