[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
find-debuginfo.sh not being packaged, but complained about
- From: Mike Meyer <mwm-keyword-rpm 43b295 mired org>
- To: rpm-list redhat com
- Subject: find-debuginfo.sh not being packaged, but complained about
- Date: Mon, 3 Dec 2007 20:21:19 -0500
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. <support neosynapse net>
Url: http://www.neosynapse.net
%description
UNKNOWN
%prep
%setup -n %{name}-%{unmangled_version}
%build
python setup.py build
cc -O -static -o bevivid tools/bevivid.c
%install
python setup.py install --optimize=1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
chmod 755 $RPM_BUILD_ROOT/usr/local/lib/python2.5/site-packages/monitor.py
ln -s /usr/local/lib/python2.5/site-packages/monitor.py $RPM_BUILD_ROOT/usr/local/bin
echo $RPM_BUILD_ROOT/usr/local/bin/monitor.py | sed 's:^.*/usr:/usr:' >>INSTALLED_FILES
cp bevivid $RPM_BUILD_ROOT/usr/local/bin
echo /usr/local/bin/bevivid >>INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%post
chown vivid:wheel /usr/local/bin/bevivid
chmod 4750 /usr/local/bin/bevivid
%files -f INSTALLED_FILES
%defattr(-,root,root)
--------------------
The problem is that find-debuginfo.sh 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?
Thanks,
<mike
--
Mike Meyer <mwm mired org> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]