[packages/adapter: 568/631] adapter: kill %pyrequires_eq, python(abi) deps are autogenerated for last 8 years

glen glen at pld-linux.org
Mon Sep 12 20:22:03 CEST 2016


commit 1f0876d01dbebf212dcd9914cb2e7c281ab8823a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jan 28 21:40:42 2013 +0200

    adapter: kill %pyrequires_eq, python(abi) deps are autogenerated for last 8 years
    
    http://git.pld-linux.org/?p=packages/rpm-build-macros.git;a=commitdiff;h=e63cd81d7184668104a7d19e403850613337372c
    python(abi) deps are autogenerated now (at last)
    pyrequires_eq remains just Requires for backward compat

 adapter.awk | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index bb70fbd..cba44c8 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -632,6 +632,11 @@ preamble == 1 {
 		release = "0." fixedsub(".%{disttag}.at", "", $4)
 	}
 
+	# deprecated. currently just resolves to name in $2
+	if (/^%pyrequires_eq.+/) {
+		$1 = "Requires:";
+	}
+
 	field = tolower($1)
 	if (field ~ /summary:/ && !/etc\.$/ && !/Inc\.$/) {
 		sub(/\.$/, "", $0);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list