[Bug 846488] Review Request: babeltrace - Trace Viewer and Converter, mainly for the Common Trace Format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=846488

--- Comment #11 from Brendan Jones <brendan.jones.it@xxxxxxxxx> ---
Here's how you can do it (your tests are being built, but not run).

--- babeltrace.spec    2012-10-29 22:04:15.000000000 +0100
+++ babeltrace_mod.spec    2013-01-15 07:38:44.571167794 +0100
@@ -45,7 +45,7 @@ to/from another trace format.

 %build

-%configure --docdir=%{_docdir}/%{name}  --disable-static
+%configure --docdir=%{_docdir}/%{name}-%{version}  --disable-static
 #Remove RPath
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@@ -54,6 +54,7 @@ make %{?_smp_mflags} V=1

 %check
 make check
+./tests/test-bitfield

 %install
 make DESTDIR=%{buildroot} install
@@ -63,22 +64,17 @@ rm -vf %{buildroot}%{_libdir}/*.la
 %postun -n lib%{name} -p /sbin/ldconfig

 %files
+%doc ChangeLog LICENSE *.txt
 %{_bindir}/%{name}*
-%dir %{_docdir}/%{name}
-%{_docdir}/%{name}/ChangeLog
-
-%{_docdir}/%{name}/*.txt
 %{_mandir}/man1/*.1*

 %files -n lib%{name}
+%doc ChangeLog LICENSE *.txt
 %{_libdir}/*.so.*
-%{_docdir}/%{name}/LICENSE
-

 %files -n lib%{name}-devel
 %{_prefix}/include/*
 %{_libdir}/*.so
-%{_docdir}/%{name}/LICENSE

 %changelog
 * Mon Oct 29 2012 Yannick Brosseau <yannick.brosseau@xxxxxxxxx> - 1.0.0-1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=E3U9ae6Ulr&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]