rpmbuild error

Ranjan Maitra maitra.mbox.ignored at inbox.com
Wed Oct 7 19:15:23 UTC 2015


Hi,

I have been trying to build pyFltk. Here is my spec file:


# spec file for package pyFltk
#

Name:           pyFltk
Version:        1.3.3.1
Release:        1%{?dist}
Summary:        Python wrapper for the Fast Light Tool Kit 
License:        GPL
URL:            http://pyfltk.sourceforge.net/
#Source0:        http://downloads.sourceforge.net/project/pyfltk/pyfltk/pyFltk-1.3.3/pyFltk-1.3.3_py3.tar.gz
Source0:        %{name}-%{version}_py3.tar.gz
BuildArch:      noarch
BuildRequires:  python3-devel,python3-setuptools,fltk-devel,python3-nose
Requires:       python3,fltk

%description
pyFLTK is a Python wrapper for the Fast Light Tool Kit cross-platform
graphical user-interface library. 


%prep
%setup -q 
rm -rf pyFltk.egg-info

%build
%{__python3} setup.py build

%check
nosetests-3.4 build

%install
rm -rf $RPM_BUILD_ROOT
%{__python3} setup.py install -O1 --skip-build  --prefix=%{_prefix} --root $RPM_BUILD_ROOT

%files  
%defattr(-,root,root,-)
%doc COPYING

%{python3_sitelib}

%license COPYING

---------------------------------

Here is the problem I am having:

rpmbuild -bb pyFilter.spec
....
+ exit 0


RPM build errors:
    File not found: /home/etc/rpmbuild/BUILDROOT/pyFltk-1.3.3.1-1.fc22.x86_64/usr/lib/python3.4/site-packages

---------------------------------

Actually looking into the rpmbuild directory, I see that these files are created in  /home/etc/rpmbuild/BUILDROOT/pyFltk-1.3.3.1-1.fc22.x86_64/usr/libusr/lib64, not in  /home/etc/rpmbuild/BUILDROOT/pyFltk-1.3.3.1-1.fc22.x86_64/usr/lib.

How do I fix this? I am compiling using python3.

Many thanks and best wishes,
Ranjan

____________________________________________________________
Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords & protects your account.
Check it out at http://mysecurelogon.com/manager




More information about the users mailing list