Author: glen                         Date: Mon Mar 31 18:46:54 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix for perl-* namespace

---- Files affected:
SPECS:
   perl-Bot-Pastebot.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/perl-Bot-Pastebot.spec
diff -u SPECS/perl-Bot-Pastebot.spec:1.1 SPECS/perl-Bot-Pastebot.spec:1.2
--- SPECS/perl-Bot-Pastebot.spec:1.1    Mon Mar 31 20:44:53 2008
+++ SPECS/perl-Bot-Pastebot.spec        Mon Mar 31 20:46:49 2008
@@ -1,4 +1,6 @@
 # $Revision$, $Date$
+# TODO
+# - make noarch
 #
 # Conditional build:
 %bcond_without autodeps        # don't BR packages needed only for resolving 
deps
@@ -7,14 +9,14 @@
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    Bot
 %define                pnam    Pastebot
-Summary:       The original clipboard-to-chat gateway.
+Summary:       The original clipboard-to-chat gateway
 Name:          perl-Bot-Pastebot
 Version:       0.50
 Release:       0.1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://dl.sourceforge.net/pastebot/%{name}-%{version}.tar.gz
+Source0:       
http://dl.sourceforge.net/pastebot/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: c95628bdc58bbc472728ba43e23e9792
 URL:           http://sourceforge.net/projects/pastebot/
 BuildRequires: perl-devel >= 1:5.8.0
@@ -27,6 +29,8 @@
 BuildRequires: perl-libwww
 BuildRequires: perltidy
 %endif
+# no arch files installed, but pkg installs to arch dir so therefore noarch
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,7 +40,7 @@
 without the whole channel scrolling to hell.
 
 %prep
-%setup -q
+%setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
 # Don't use pipes here: they generally don't work. Apply a patch.
@@ -71,5 +75,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008-03-31 18:46:49  glen
+- fix for perl-* namespace
+
 Revision 1.1  2008-03-31 18:44:53  glen
 - new
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-Bot-Pastebot.spec?r1=1.1&r2=1.2&f=u

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

Reply via email to