Author Topic: rpmbuild -bb kernel-pclos.spec fails  (Read 2246 times)

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: rpmbuild -bb kernel-pclos.spec fails
« Reply #15 on: March 07, 2012, 07:10:33 AM »
In that case, I'd try dumping the bit in brackets altogether. It's presumably a build number, and I'd expect major and minor version to be enough, especially given that pclos controls what is provided anyway. Replace the line I gave with "$ver=~s/\[.+$//;" to cut the opening bracket and all that follows.
+1 Thanks, I was thinking something like that ...

Quote
In fact, no current packages in the repo provide "kmod(a" at all. Very few provide "kmod(", so it doesn't look as if this is much used anyway.

those kmod references as extracted from kmod.prov are used also to compare against conflicting/(broken?) modules preventing the building of a broken kernel, the conflicting modules are listed in the kernel specfile.

I think the current issue can be considered solved, eventually the issue will be evaluated again if needed.