packages: vim-pydiction/vim-pydiction.spec - use %undos macro - BR: rpm-pyt...

sparky sparky at pld-linux.org
Mon Feb 7 17:26:32 CET 2011


Author: sparky                       Date: Mon Feb  7 16:26:32 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use %undos macro
- BR: rpm-pythonprov

---- Files affected:
packages/vim-pydiction:
   vim-pydiction.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: packages/vim-pydiction/vim-pydiction.spec
diff -u packages/vim-pydiction/vim-pydiction.spec:1.10 packages/vim-pydiction/vim-pydiction.spec:1.11
--- packages/vim-pydiction/vim-pydiction.spec:1.10	Sun Jun  8 12:52:18 2008
+++ packages/vim-pydiction/vim-pydiction.spec	Mon Feb  7 17:26:27 2011
@@ -7,9 +7,12 @@
 License:	GPL v2
 Group:		Development/Tools
 # renamed from http://www.vim.org/scripts/download_script.php?src_id=2668
-Source0:	pydiction-0.5.tar.gz
+Source0:	pydiction-%{version}.tar.gz
 # Source0-md5:	f7189a21c88d2dd9fbdd2a2a7dd2b981
 URL:		http://www.vim.org/scripts/script.php?script_id=850
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.565
+BuildRequires:	sed >= 4.0
 %pyrequires_eq	python
 %pyrequires_eq	python-modules
 Requires:	vim-rt >= 6.0
@@ -30,9 +33,7 @@
 
 %prep
 %setup -q -n pydiction-%{version}
-
-mv pydiction.py pydiction.py.dos
-sed 's/
//' < pydiction.py.dos > pydiction.py
+%undos pydiction.py
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -56,6 +57,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2011/02/07 16:26:27  sparky
+- use %undos macro
+- BR: rpm-pythonprov
+
 Revision 1.10  2008/06/08 10:52:18  glen
 - vim-rt dep not vim itself
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim-pydiction/vim-pydiction.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list