rawhide report: 20130310 changes

Mathieu Bridon bochecha at fedoraproject.org
Mon Mar 11 03:26:42 UTC 2013


On Sun, 2013-03-10 at 12:15 -0700, Conrad Meyer wrote:
[... snip list of broken deps ...]
> I've emailed all the relevant maintainers; protobuf 2.5.0
> (#883822) bumped .so from 7 to 8 and I didn't notice until
> after kicking off the build, mea culpa.

I find that being a bit more explicit when specifying the files ina
package is a great way to catch so bumps.

In your case, you could do the following:

  diff --git a/protobuf.spec b/protobuf.spec
  index 46ae034..8903fd2 100644
  --- a/protobuf.spec
  +++ b/protobuf.spec
  @@ -275,7 +275,7 @@
   %files compiler
   %defattr(-, root, root, -)
   %{_bindir}/protoc
  -%{_libdir}/libprotoc.so.*
  +%{_libdir}/libprotoc.so.8*
   %doc COPYING.txt README.txt
   
   %files devel

If the .so gets bumped again, the build will fail, which will allow you
to be much more proactive in dealing with dependency breaks.

Hope that helps.


-- 
Mathieu



More information about the devel mailing list