rpmbuild error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux