--program-prefix=%{?_program_prefix} \\\
--prefix=%{_prefix} \\\
--exec-prefix=%{_exec_prefix} \\\
- --bindir=%{nil} \\\
+ --bindir=%{_bindir} \\\
--sbindir=%{_sbindir} \\\
--sysconfdir=%{_sysconfdir} \\\
--datadir=%{_datadir} \\\
id=splitedLine[i+1]
res+="#extracte source %s \n" % id
res+="pushd ${S}\n"
- res+="unp ${PACKAGING}/packaging/%s \n" % (os.path.basename(patternSourceDico[id]))
+ source=os.path.basename(patternSourceDico[id])
+ if source.endswith("rpmlintrc"):
+ res+="cp ${PACKAGING}/packaging/%s .\n" % source
+ else:
+ res+="unp ${PACKAGING}/packaging/%s \n" % (os.path.basename(patternSourceDico[id]))
res+="popd \n"
elif splitedLine[i].startswith("-b"):
res+="#extracte source %s \n" % (id)
res+="pushd ${S}/../\n"
- res+="unp ${PACKAGING}/packaging/%s \n" % (os.path.basename(patternSourceDico[id]))
+ source=os.path.basename(patternSourceDico[id])
+ if source.endswith("rpmlintrc"):
+ res+="cp ${PACKAGING}/packaging/%s .\n" % source
+ else:
+ res+="unp ${PACKAGING}/packaging/%s \n" % source
res+="popd \n"
res+="chmod -Rf a+rX,u+w,g-w,o-w ${PACKAGING}\n"