§
VŽè}Iµã ó€ — d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ d dl T d dl
mZ d dlm
Z
G d„ d e¦ « ZdS )
é N)ÚCommand)ÚDEBUG)Ú
write_file)Ú*)Úget_python_version)Úlogc óX — e Zd ZdZg d¢Zg d¢ZddddœZd„ Zd „ Zd
„ Z d„ Z
d„ Zd
„ Zd„ Z
dS )Ú bdist_rpmzcreate an RPM distribution)))zbdist-base=Nz/base directory for creating built distributions)z rpm-base=Nzdbase directory for creating RPMs (defaults to "rpm" under --bdist-base; must be specified for RPM 2))z dist-dir=ÚdzDdirectory to put final RPM files in (and .spec files if --spec-only))zpython=NzMpath to Python interpreter to hard-code in the .spec file (default: "python"))z
fix-pythonNzLhard-code the exact path to the current Python interpreter in the .spec file)z spec-onlyNzonly regenerate spec file)zsource-onlyNzonly generate source RPM)zbinary-onlyNzonly generate binary RPM)z use-bzip2Nz7use bzip2 instead of gzip to create source distribution)zdistribution-name=Nzgname of the (Linux) distribution to which this RPM applies (*not* the name of the module distribution!))zgroup=Nz9package classification [default: "Development/Libraries"])zrelease=NzRPM release number)zserial=NzRPM serial number)zvendor=NzaRPM "vendor" (eg. "Joe Blow