[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

error: Installed (but unpackaged) file(s) found



Hi All,

My first discussion re packaging.

I get this error now a bit of googling and finding that on the mailing
list it relates to an error where the files installed are not listed in
the files section.  Please correct me if I'm wrong.

If thats the case that all files installed have to be listed in the
files section how do people go about installing python packages.  My
direct example which I'll list here for completeness of the question is
because in my circumstance there is not a build for this python package
using the standard tools.

rm -rf $RPM_BUILD_ROOT
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}/usr/share/%{name}
install -m 644 *.py ${RPM_BUILD_ROOT}/usr/share/%{name}
mkdir -p ${RPM_BUILD_ROOT}/usr/share/%{name}/BitTorrent
install -m 644 BitTorrent/*
${RPM_BUILD_ROOT}/usr/share/%{name}/BitTorrent
mkdir -p ${RPM_BUILD_ROOT}/usr/share/%{name}/images/flags
install -m 644 images/flags/*
${RPM_BUILD_ROOT}/usr/share/%{name}/images/flags
install -m 644 images/*.png
${RPM_BUILD_ROOT}/usr/share/%{name}/images/flags
install -m 644 images/*.ico
${RPM_BUILD_ROOT}/usr/share/%{name}/images/flags
mkdir -p ${RPM_BUILD_ROOT}/usr/share/%{name}/locale/en/LC_MESSAGES
install -m 644 locale/en/LC_MESSAGES/*
${RPM_BUILD_ROOT}/usr/share/%{name}/locale/en/LC_MESSAGES
mkdir -p ${RPM_BUILD_ROOT}/usr/share/%{name}/locale/h4/LC_MESSAGES
install -m 644 locale/h4/LC_MESSAGES/*
${RPM_BUILD_ROOT}/usr/share/%{name}/locale/h4/LC_MESSAGES

Its basically a script to install all the necessary files into the
respective locations.  The actual running of the program is a bash
script file that runs it using the python -OO /usr/share/rufus/rufus.py

Am I going about this the completely wrong way?

Regards,

Marc

--
Fedora-mentors-list mailing list
Fedora-mentors-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-mentors-list

[Home]     [Fedora Legacy]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net