http://bugzilla.rpmfusion.org/show_bug.cgi?id=718
leigh scott <leigh123linux(a)fedoraproject.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |leigh123linux@fedoraproject.
| |org
--- Comment #2 from leigh scott <leigh123linux(a)fedoraproject.org> 2009-07-18
22:39:27 ---
* rpmlint rpmbuild/RPMS/i586/gns3-0.6.1-1.fc11.i586.rpm
gns3.i586: E: no-binary
1 packages and 0 specfiles checked; 1 errors, 0 warnings.
- ignoring the error because this is written in python so does not contain any
binary.
Sorry you can't choose to ignore this error, you must fix it.
You can fix the rpmlint error by adding this to the spec file, the package
should be noarch.
BuildArch: noarch
You must create this using files.
https://fedoraproject.org/wiki/Packaging/Guidelines#.desktop_file_creation
%{__cat} <<'EOF' > %{name}.desktop
[Desktop Entry]
Name=GNS3
GenericName=Graphical Network Simulator
Comment=program to simulate networks
Exec=gns3
Icon=%{name}
Terminal=false
Type=Application
Categories=Network;
EOF
%{__cat} <<'EOF' > gns3.ini
[Dynamips]
hypervisor_path=/usr/bin/dynamips
hypervisor_port=7200
hypervisor_baseUDP=10002
hypervisor_baseConsole=2000
hypervisor_working_directory=~/.gns3/tmp
clean_working_directory=true
dynamips_ghosting=true
dynamips_sparsemem=false
dynamips_mmap=true
hypervisor_udp_incrementation=100
hypervisor_manager_import=true
hypervisor_manager_binding=localhost
[GNS3]
console=konsole --new-tab -p tabtitle=%d -e telnet %h %p >/dev/null 2>&1 &
gui_show_status_points=true
gui_use_manual_connection=false
ios_directory=~/.gns3
project_directory=~/.gns3
[Pemu]
pemuwrapper_path=%{_datadir}/%{name}/pemu/pemuwrapper.py
pemuwrapper_working_directory=~/.gns3/tmp
external_host=
enable_PemuManager=true
pemu_manager_import=true
default_pix_image=
default_pix_key="0x00000000,0x00000000,0x00000000,0x00000000"
default_pix_serial=0x12345678
default_base_flash=
pemu_manager_binding=localhost
EOF
This is obsolete
%{!?python_sitelib: %define python_sitelib %(%{__python} -c
"from distutils.sysconfig import get_python_lib; print get_python_lib()")}
It should be
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
--
Configure bugmail:
http://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.