commit eba36163c6076a15abfb6ed21e005fda057464fc
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Apr 27 23:26:40 2016 +0300

    noarch apidocs

 udt.spec | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/udt.spec b/udt.spec
index 01f259b..5ed0e45 100644
--- a/udt.spec
+++ b/udt.spec
@@ -2,10 +2,10 @@ Summary:      UDP-based Data Transfer library
 Summary(pl.UTF-8):     UDT (UDP-based Data Transfer) - biblioteka transportu 
danych w oparciu o UDP
 Name:          udt
 Version:       4.11
-Release:       3
+Release:       4
 License:       BSD
 Group:         Libraries
-Source0:       http://downloads.sourceforge.net/udt/udt.sdk.%{version}.tar.gz
+Source0:       
http://downloads.sourceforge.net/udt/%{name}.sdk.%{version}.tar.gz
 # Source0-md5: 30b1556e5cf0afe179e40a53a1371b08
 URL:           http://udt.sourceforge.net/
 BuildRequires: libstdc++-devel
@@ -18,7 +18,7 @@ networks. UDT uses UDP to transfer bulk data with its own 
reliability
 control and congestion control mechanisms. The new protocol can
 transfer data at a much higher speed than TCP does. UDT is also a
 highly configurable framework that can accommodate various congestion
-control algorithms. 
+control algorithms.
 
 %description -l pl.UTF-8
 UDT to oparty na UDP wiarygodny protokół transportowy działający na
@@ -59,6 +59,9 @@ Statyczna biblioteka UDT.
 Summary:       UDT API documentation
 Summary(pl.UTF-8):     Dokumentacja API biblioteki UDT
 Group:         Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description apidocs
 API documentation for UDT library.
@@ -67,7 +70,7 @@ API documentation for UDT library.
 Dokumentacja API biblioteki UDT.
 
 %prep
-%setup -q -n udt4
+%setup -q -n %{name}4
 
 %{__sed} -i -e '/^CCFLAGS/s/ -O3/ %{rpmcxxflags}/;s/^C++ = .*/C++ = %{__cxx}/' 
src/Makefile app/Makefile
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/udt.git/commitdiff/eba36163c6076a15abfb6ed21e005fda057464fc

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to