[packages/xdg-utils] need to regenerate from .in in case of git checkout

glen glen at pld-linux.org
Fri Dec 28 14:29:30 CET 2012


commit 53178657a8d37866bcc86b02357c8605bf9f5d4d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Dec 28 15:29:27 2012 +0200

    need to regenerate from .in in case of git checkout

 xdg-utils.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/xdg-utils.spec b/xdg-utils.spec
index fcc9011..a9e2830 100644
--- a/xdg-utils.spec
+++ b/xdg-utils.spec
@@ -1,5 +1,5 @@
 %define		subver	rc1
-%define		rel		1
+%define		rel		2
 Summary:	Set of tools that assist applications with desktop integration
 Summary(pl.UTF-8):	Zestaw narzędzi ułatwiających integrację aplikacji ze środowiskami graficznymi
 Name:		xdg-utils
@@ -41,6 +41,13 @@ mv xdg-utils-v%{version}-*/* .
 
 %build
 %configure
+
+# for snapshot. need to regenerate scripts
+%if 0%{?subver:1}
+%{__make} scripts-clean -C scripts
+%{__make} man scripts -C scripts
+%endif
+
 %{__make}
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xdg-utils.git/commitdiff/53178657a8d37866bcc86b02357c8605bf9f5d4d



More information about the pld-cvs-commit mailing list