[packages/tawara] noarch apidocs

glen glen at pld-linux.org
Sun Mar 30 18:02:39 CEST 2014


commit b9af6ad9a031d078a04717906f0fd601b8c6973f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Mar 30 19:02:38 2014 +0300

    noarch apidocs

 tawara.spec | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/tawara.spec b/tawara.spec
index 3902adf..76daf45 100644
--- a/tawara.spec
+++ b/tawara.spec
@@ -2,16 +2,16 @@
 #
 # Conditional build:
 %bcond_without	apidocs		# do not build and package API docs
-#
+
+%define	snap	20130819
 Summary:	Tawara file format implementation
 Summary(pl.UTF-8):	Implementacja formatu plików Tawara
 Name:		tawara
 Version:	0.1.0
-%define	snap	20130819
-Release:	0.%{snap}.1
+Release:	0.%{snap}.2
 License:	BSD
 Group:		Libraries
-Source0:	http://github.com/gbiggs/tawara/archive/master.tar.gz?/tawara-%{snap}.tar.gz
+Source0:	http://github.com/gbiggs/tawara/archive/master/%{name}-%{snap}.tar.gz
 # Source0-md5:	682d240fad7fd3e74026fa7c2a660b1f
 Patch0:		%{name}-lib.patch
 URL:		http://gbiggs.github.io/tawara/
@@ -56,6 +56,9 @@ Pliki nagłówkowe biblioteki Tawara.
 Summary:	Tawara API documentation
 Summary(pl.UTF-8):	Dokumentacja API biblioteki Tawara
 Group:		Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description apidocs
 API documentation for Tawara library.
@@ -64,7 +67,7 @@ API documentation for Tawara library.
 Dokumentacja API biblioteki Tawara.
 
 %prep
-%setup -q -n tawara-master
+%setup -q -n %{name}-master
 %patch0 -p1
 
 %build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tawara.git/commitdiff/b9af6ad9a031d078a04717906f0fd601b8c6973f



More information about the pld-cvs-commit mailing list