Linux Archive

Linux Archive (
-   RPM Package Manager (
-   - not being packaged, but complained about (

Mike Meyer 12-04-2007 12:21 AM not being packaged, but complained about
I'm using python's setuptool's bdist_rpm to build an rpm, which
generate the following specfile:

%define name vivid
%define version 1.0
%define unmangled_version 1.0
%define release 1

Summary: VIVID ETL package.
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{unmangled_version}.tar.gz
License: UNKNOWN
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Neosynapse, Inc. <>


%setup -n %{name}-%{unmangled_version}

python build
cc -O -static -o bevivid tools/bevivid.c

python install --optimize=1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
chmod 755 $RPM_BUILD_ROOT/usr/local/lib/python2.5/site-packages/
ln -s /usr/local/lib/python2.5/site-packages/ $RPM_BUILD_ROOT/usr/local/bin
echo $RPM_BUILD_ROOT/usr/local/bin/ | sed 's:^.*/usr:/usr:' >>INSTALLED_FILES

cp bevivid $RPM_BUILD_ROOT/usr/local/bin
echo /usr/local/bin/bevivid >>INSTALLED_FILES


chown vivid:wheel /usr/local/bin/bevivid
chmod 4750 /usr/local/bin/bevivid


The problem is that is creating a bevivid.debug
file which rpmbuild later finds and complains about as being installed
but not packaged.

These two things both happen after the install, with none of the
user-controllable actions happening between them, so all my attempts
to either include the file or remove it failed.

Help? Please?

Mike Meyer <>
Independent Network/Unix/Perforce consultant, email for more information.

Rpm-list mailing list

All times are GMT. The time now is 05:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.