]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- use current epoch in pyrequires_eq macro
authorwrobell <wrobell@pld-linux.org>
Thu, 11 Dec 2003 15:17:25 +0000 (15:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.133

rpm.macros

index 00de41c03e60da8d7332217afb62d2000bce4752..14d045ae2576e8814a20b0cb15784f895ccb69fa 100644 (file)
@@ -379,7 +379,7 @@ echo "Compress kernel modules if any."; \
 
 # Software written in Python language require Python with main version
 # unchanged
-%pyrequires_eq() Requires:       %1 >= %py_ver %1 < %(echo `python -c "import sys; import string; ver=sys.version[:3].split('.'); ver[1]=str(int(ver[1])+1); print string.join(ver, '.')"`)
+%pyrequires_eq() Requires:       %1 >= 1:%py_ver %1 < 1:%(echo `python -c "import sys; import string; ver=sys.version[:3].split('.'); ver[1]=str(int(ver[1])+1); print string.join(ver, '.')"`)
 
 # depmod macro
 %depmod() { \
This page took 0.042836 seconds and 4 git commands to generate.