Open williamjmorenor opened 9 years ago
This is the spec file
Name: kaaedit Version: 0.44.0 Release: 1%{?dist} Summary: Console text editor
License: MIT URL: https://github.com/kaaedit/kaa Source0: https://pypi.python.org/packages/source/k/%{name}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-setuptools BuildRequires: python3-devel BuildRequires: ncurses-devel
%description Kaa is a small and easy CUI text editor for console/terminal emulator environments.
%prep %setup -q -n %{name}-%{version}
rm -rf %{name}.egg.info
%build %{__python3} setup.py build --quiet
%install %{__python3} setup.py install --skip-build --root %{buildroot}
%check %{__python3} setup.py test
%files
%doc README.rst README-JA.rst
%{_bindir}/*
%{python3_sitelib}/%{name}
%{python3_sitelib}/%{name}-%{version}-py?.?.egg-info
%changelog
I don't have Fedora box to try handy, but I guess options for setup.py like
python3 setup.py install --install-lib=/usr/lib/python3.4/site-packages/
might works.
OK
The rpm packaging is almost ready, but looks like %%chech is faling with python3.5
Full build log is here:
https://kojipkgs.fedoraproject.org//work/tasks/5877/11925877/build.log
Hi
I am traying to package kaaedit but I see it is installing apps in
/usr/lib64/python3.4/site-packages/
And python3 in fedora in under
/usr/lib/python3.4/site-packages/
This can be fixed? If I will package the app if not I will no be able to package it