Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Review Request: tinyxml - A simple, small, C++ XML parser
https://bugzilla.redhat.com/show_bug.cgi?id=407571
------- Additional Comments From pertusus@free.fr 2007-12-04 13:14 EST ------- The tinyxml.h timestamp isn't kept, one way to achieve that would be to do something like
%patch0 -p1 -b .stl touch -r tinyxml.h.stl tinyxml.h
Otherwise on multilib installs rpm -V will show spurious differences.
If I recall well, it is advised to use $RPM_OPT_FLAGS during linking (for the arch -m* options), maybe you could consider doing that?
Also in general the library name contains the version, like g++ -shared -o lib%{name}.so.%{version} -Wl,-soname,lib%{name}.so.0 *.cpp.o And then you can use ldconfig to do the first link, like install -m 755 lib%{name}.so.%{version} $RPM_BUILD_ROOT%{_libdir} /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/ ln -s lib%{name}.so.0 $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so
I don't have any other comment.