packages: protobuf/protobuf.spec 2.4.0a

Elan Ruusamäe glen at pld-linux.org
Sun Mar 20 19:55:37 CET 2011


On Friday 18 March 2011 10:34, Elan Ruusamäe wrote:
> On Friday 18 March 2011 07:32, aredridel wrote:
> > Author: aredridel                    Date: Fri Mar 18 05:32:39 2011 GMT
> > Module: packages                      Tag: HEAD
> > 
> > ---- Log message:
> >  2.4.0a
> > 
> > ---- Files affected:
> > 
> > packages/protobuf:
> >    protobuf.spec (1.6 -> 1.7)
> > 
> > ---- Diffs:
> > 
> > ================================================================
> > Index: packages/protobuf/protobuf.spec
> > diff -u packages/protobuf/protobuf.spec:1.6
> > packages/protobuf/protobuf.spec:1.7 ---
> > packages/protobuf/protobuf.spec:1.6	Sat Nov 28 02:43:15 2009
> > +++ packages/protobuf/protobuf.spec	Fri Mar 18 06:32:33 2011
> > @@ -7,12 +7,12 @@
> > 
> >  Summary:	Protocol Buffers - Google's data interchange format
> >  Summary(pl.UTF-8):	Protocol Buffers - format wymiany danych Google
> >  Name:		protobuf
> > 
> > -Version:	2.0.3
> > +Version:	2.4.0a
> > 
> >  Release:	1
> >  License:	BSD
> >  Group:		Libraries
> >  Source0:	http://protobuf.googlecode.com/files/%{name}-%{version}.tar.bz2
> > 
> > -# Source0-md5:	37e6e4d63434672c70bd977be9c372cb
> > +# Source0-md5:	61df3f63ec284fc6f57a68c67e4918c6
> > 
> >  URL:		http://code.google.com/p/protobuf/
> >  BuildRequires:	libstdc++-devel
> >  BuildRequires:	rpm-pythonprov
> > 
> > @@ -109,22 +109,29 @@
> > 
> >  %files libs
> >  %defattr(644,root,root,755)
> > 
> > +%attr(755,root,root) %{_libdir}/libprotobuf-lite.so.*.*.*
> > +%attr(755,root,root) %ghost %{_libdir}/libprotobuf-lite.so.?
> > 
> >  %attr(755,root,root) %{_libdir}/libprotobuf.so.*.*.*
> > 
> > -%attr(755,root,root) %ghost %{_libdir}/libprotobuf.so.3
> > +%attr(755,root,root) %ghost %{_libdir}/libprotobuf.so.?
> > 
> >  %attr(755,root,root) %{_libdir}/libprotoc.so.*.*.*
> > 
> > -%attr(755,root,root) %ghost %{_libdir}/libprotoc.so.3
> > +%attr(755,root,root) %ghost %{_libdir}/libprotoc.so.?
> > 
> >  %files devel
> >  %defattr(644,root,root,755)
> > 
> > +%attr(755,root,root) %{_libdir}/libprotobuf-lite.so
> > 
> >  %attr(755,root,root) %{_libdir}/libprotobuf.so
> >  %attr(755,root,root) %{_libdir}/libprotoc.so
> > 
> > +%{_libdir}/libprotobuf-lite.la
> > 
> >  %{_libdir}/libprotobuf.la
> >  %{_libdir}/libprotoc.la
> >  %{_includedir}/google
> >  %{_examplesdir}/%{name}-%{version}
> > 
> > +%{_pkgconfigdir}/protobuf-lite.pc
> > +%{_pkgconfigdir}/protobuf.pc
> > 
> >  %files static
> >  %defattr(644,root,root,755)
> > 
> > +%{_libdir}/libprotobuf-lite.a
> > 
> >  %{_libdir}/libprotobuf.a
> >  %{_libdir}/libprotoc.a
> > 
> > @@ -134,6 +141,9 @@
> > 
> >  All persons listed below can be reached at <cvs_login>@pld-linux.org
> >  
> >  $Log$
> > 
> > +Revision 1.7  2011/03/18 05:32:33  aredridel
> > + 2.4.0a
> 
> do you know what next version will be that you included "a" in Version
> field? 2.4.0? or 2.4.0b?
> 
> if "a" denotes "alpha" stage, then it version should be 2.4.0 and "a"
> included in release.
> 
> see PLD-doc/devel-hints-en.txt about "epoch bumping"

also do not do this:
-%attr(755,root,root) %ghost %{_libdir}/libprotoc.so.3
+%attr(755,root,root) %ghost %{_libdir}/libprotoc.so.?

it is needed for soname tracking to include exact soname version in filelist


-- 
glen


More information about the pld-devel-en mailing list