noarch vala subpackage auto/th/libmpdclient-2.10-2
authorElan Ruusamäe <glen@delfi.ee>
Mon, 28 Mar 2016 09:18:39 +0000 (12:18 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 28 Mar 2016 09:18:39 +0000 (12:18 +0300)
libmpdclient.spec

index 9b35379b4efb5be587c4e9fcb2e3d3232c8dc412..669b8580bf036a2faee4d4753b1216fb6911f433 100644 (file)
@@ -2,7 +2,7 @@ Summary:        MPD client library
 Summary(pl.UTF-8):     Biblioteka kliencka MPD
 Name:          libmpdclient
 Version:       2.10
 Summary(pl.UTF-8):     Biblioteka kliencka MPD
 Name:          libmpdclient
 Version:       2.10
-Release:       1
+Release:       2
 License:       BSD-like
 Group:         Libraries
 Source0:       http://www.musicpd.org/download/libmpdclient/2/%{name}-%{version}.tar.xz
 License:       BSD-like
 Group:         Libraries
 Source0:       http://www.musicpd.org/download/libmpdclient/2/%{name}-%{version}.tar.xz
@@ -44,10 +44,13 @@ Static MPD client library.
 Statyczna biblioteka kliencka MPD.
 
 %package -n vala-libmpdclient
 Statyczna biblioteka kliencka MPD.
 
 %package -n vala-libmpdclient
-Summary:        libmpdclient API for Vala language
-Summary(pl.UTF-8):      API libmpdclient dla języka Vala
-Group:          Development/Libraries
-Requires:       %{name}-devel = %{version}-%{release}
+Summary:       libmpdclient API for Vala language
+Summary(pl.UTF-8):     API libmpdclient dla języka Vala
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description -n vala-libmpdclient
 libmpdclient API for Vala language.
 
 %description -n vala-libmpdclient
 libmpdclient API for Vala language.
@@ -72,7 +75,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
+rm -rf $RPM_BUILD_ROOT%{_docdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.073246 seconds and 4 git commands to generate.