On Mon, 3 Oct 2016 09:30:44 -0700 Rick Stevens ricks@alldigital.com wrote:
On 10/03/2016 06:38 AM, Ranjan Maitra wrote:
Hi,
I have had issues with batti for quite a while, and I came across battray as a replacement (and it works). So, I was trying to put it together as a rpm and perhaps and get it approved for Fedora.
I have created the following spec file available here:
https://paste.fedoraproject.org/442597/50173214
It compiles without error. However, when I try to install the rpm using
$sudo dnf install ../RPMS/noarch/battray-2.2-1.fc24.noarch.rpm
I get:
Last metadata expiration check: 0:15:05 ago on Mon Oct 3 08:21:04 2016. Error: nothing provides /bin/python3 needed by battray-2.2-1.fc24.noarch (try to add '--allowerasing' to command line to replace conflicting packages)
The addition of '--allowerasing' does not change anything other than to remove the suggestion.
Any suggestions as to what is wrong with my spec file?
It looks like you have an install dependency on /bin/python3 but it's not installed (check "ls /bin/python3"). That file is provided by the python3-3.5.1-17.fc24.x86_64 RPM (on my updated machine).
Rick,
Thanks! But I have a
Requires: python3
Is that not enough?
Besides, python3 and python3-devel is also installed and updated on my machine.
Ranjan
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
-- Diplomacy: The art of saying "Nice doggy!" until you can find a -
big enough rock. -
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org