]> git.pld-linux.org Git - packages/adapter.git/commitdiff
adapter: kill %pyrequires_eq, python(abi) deps are autogenerated for last 8 years
authorElan Ruusamäe <glen@delfi.ee>
Mon, 28 Jan 2013 19:40:42 +0000 (21:40 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 28 Jan 2013 19:40:42 +0000 (21:40 +0200)
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

index bb70fbd82198dae103ac813f20679111bc547497..cba44c853062bc6d1cf828b21bff2e772214baff 100644 (file)
@@ -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);
This page took 0.115161 seconds and 4 git commands to generate.