[packages/gnome-vfs2] noarch apidocs

glen glen at pld-linux.org
Thu Apr 3 08:47:46 CEST 2014


commit 18bef6f4095888d76e63cb21e17f9508947aadc3
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Apr 3 09:47:39 2014 +0300

    noarch apidocs

 gnome-vfs2.spec | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/gnome-vfs2.spec b/gnome-vfs2.spec
index 44fe9b0..ecd8bce 100644
--- a/gnome-vfs2.spec
+++ b/gnome-vfs2.spec
@@ -2,12 +2,12 @@
 # Conditional build:
 %bcond_with	hal		# build with HAL support (HAL is deprecated)
 %bcond_without	static_libs	# static library
-#
+
 Summary:	GNOME - virtual file system
 Summary(pl.UTF-8):	GNOME - wirtualny system plików
 Name:		gnome-vfs2
 Version:	2.24.4
-Release:	13
+Release:	14
 License:	LGPL v2+
 Group:		Applications
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gnome-vfs/2.24/gnome-vfs-%{version}.tar.bz2
@@ -118,6 +118,9 @@ Summary:	gnome-vfs API documentation
 Summary(pl.UTF-8):	Dokumentacja API gnome-vfs
 Group:		Documentation
 Requires:	gtk-doc-common
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description apidocs
 gnome-vfs API documentation.
@@ -168,9 +171,9 @@ install -d $RPM_BUILD_ROOT%{_desktopdir}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/*.a
 %endif
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/defaults.list
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/defaults.list
 
-%{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{sr at ije,sr at ijekavian}
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr at ije,sr at ijekavian}
 
 %find_lang gnome-vfs-2.0
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-vfs2.git/commitdiff/18bef6f4095888d76e63cb21e17f9508947aadc3



More information about the pld-cvs-commit mailing list