release = "0." fixedsub(".%{disttag}.at", "", $4)
}
+ # deprecated. currently just resolves to name in $2
+ if (/^%pyrequires_eq.+/) {
+ $1 = "Requires:";
+ }
+
+ # F<16 had requires(hint)
+ if (/^Requires\(hint\):/) {
+ $1 = "Suggests:";
+ }
+
field = tolower($1)
if (field ~ /summary:/ && !/etc\.$/ && !/Inc\.$/) {
sub(/\.$/, "", $0);
}
sub("%{_defaultdocdir}", "%{_docdir}");
+ sub("%{_datadir}/doc", "%{_docdir}");
sub("%{_bindir}/perl", "%{__perl}");
sub("%{_bindir}/python", "%{__python}");