%define version 4.1.8a %define release alt1 %setup_python_module pysnmp Summary: SNMP v1/v2c/v3 engine Name: %{packagename}4 Version: %version Release: %release.1 Source0: %modulename-%version.tar.gz License: BSD Group: Development/Python Conflicts: python-module-pysnmp %description This is an alpha-quality revision of pure-Python, open source and free implementation of v1/v2c/v3 SNMP engine. %prep %setup -q -n %modulename-%version %build env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build %install %__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES %files -f INSTALLED_FILES %changelog * Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 4.1.8a-alt1.1 - Rebuilt with python-2.5. * Tue Oct 16 2007 Peter V. Saveliev <peet@altlinux.org> 4.1.8a-alt1 - initial build