Could not open %files file
/usr/src/redhat/BUILD/mpi350-2.0/debugfiles.list: No such file
or directory
To which my response is a resounding "no sh@#", since no such file
exists.
How can I prevent RPM from trying to build this unwanted package?
Thanks!
--
========================================================================
Ian Pilcher pilc...@attbi.com
========================================================================
Looking at the spec file, it don't seem to look for the file in question, I
would start to look at the scripts that are part of the tarball. In worst case
you could make an empty file:
...
tar -C howto -xzf %{SOURCE2}
touch debugfiles.list
%patch0 -p0
...
//Aho
???
I know that the file in question doesn't exist. RPM is doing this
"automagically" for some reason.
> In worst case you could make an empty file:
I suppose that's a possible workaround. I want to know how to turn off
this new, unwanted (in this case), behavior.
In your ~/.rpmmacros:
# don't build a debug package
%debug_package %{nil}
--
Matthew Miller mat...@mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Thanks!
Putting
%define debug_package %{nil}
in the SPEC file seems to work too.