[packages/uhd] utils is a dir, use glob to match all examples

glen glen at pld-linux.org
Mon May 11 22:51:17 CEST 2015


commit 58254af19a63f8089aa2b664fcacd6bca64ce409
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon May 11 23:51:12 2015 +0300

    utils is a dir, use glob to match all examples

 uhd.spec | 36 ++++++++++++------------------------
 1 file changed, 12 insertions(+), 24 deletions(-)
---
diff --git a/uhd.spec b/uhd.spec
index 4a24e8c..607b534 100644
--- a/uhd.spec
+++ b/uhd.spec
@@ -94,13 +94,20 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/uhd_find_devices.1*
 %{_mandir}/man1/uhd_images_downloader.1*
 %{_mandir}/man1/uhd_usrp_probe.1*
-%{_mandir}/man1/usrp2_card_burner.1*
-%{_mandir}/man1/usrp_n2xx_simple_net_burner.1*
-%{_mandir}/man1/usrp_x3xx_fpga_burner.1*
+%{_mandir}/man1%{_prefix}p2_card_burner.1*
+%{_mandir}/man1%{_prefix}p_n2xx_simple_net_burner.1*
+%{_mandir}/man1%{_prefix}p_x3xx_fpga_burner.1*
 %attr(755,root,root) %{_libdir}/libuhd.so.00*.00*
 %attr(755,root,root) %ghost %{_libdir}/libuhd.so.003
 %dir %{_libdir}/%{name}
-%attr(755,root,root) %{_libdir}/%{name}/utils
+%dir %{_libdir}/%{name}/utils
+%attr(755,root,root) %{_libdir}/%{name}/utils/*.py
+%{_libdir}/%{name}/utils/uhd-usrp.rules
+%attr(755,root,root) %{_libdir}/%{name}/utils/*_eeprom
+%attr(755,root,root) %{_libdir}/%{name}/utils/*_utils
+%attr(755,root,root) %{_libdir}/%{name}/utils/*_sensors
+%dir %{_libdir}/%{name}/utils/latency
+%attr(755,root,root) %{_libdir}/%{name}/utils/latency/*
 
 %files devel
 %defattr(644,root,root,755)
@@ -114,23 +121,4 @@ rm -rf $RPM_BUILD_ROOT
 %{_docdir}/%{name}
 %dir %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/examples
-%{_libdir}/%{name}/examples/benchmark_rate
-%{_libdir}/%{name}/examples/fpgpio
-%{_libdir}/%{name}/examples/latency_test
-%{_libdir}/%{name}/examples/network_relay
-%{_libdir}/%{name}/examples/rx_ascii_art_dft
-%{_libdir}/%{name}/examples/rx_multi_samples
-%{_libdir}/%{name}/examples/rx_samples_to_file
-%{_libdir}/%{name}/examples/rx_samples_to_udp
-%{_libdir}/%{name}/examples/rx_timed_samples
-%{_libdir}/%{name}/examples/test_clock_synch
-%{_libdir}/%{name}/examples/test_dboard_coercion
-%{_libdir}/%{name}/examples/test_messages
-%{_libdir}/%{name}/examples/test_pps_input
-%{_libdir}/%{name}/examples/test_timed_commands
-%{_libdir}/%{name}/examples/transport_hammer
-%{_libdir}/%{name}/examples/tx_bursts
-%{_libdir}/%{name}/examples/tx_samples_from_file
-%{_libdir}/%{name}/examples/tx_timed_samples
-%{_libdir}/%{name}/examples/tx_waveforms
-%{_libdir}/%{name}/examples/txrx_loopback_to_file
+%attr(755,root,root) %{_libdir}/%{name}/examples/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/uhd.git/commitdiff/58254af19a63f8089aa2b664fcacd6bca64ce409



More information about the pld-cvs-commit mailing list