[packages/liblangtag] - pedantic fixes
arekm
arekm at pld-linux.org
Thu Feb 14 15:52:00 CET 2013
commit 3e23b46df0f0f544dc2a4b873d1f12ea1e63476d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Feb 14 15:51:57 2013 +0100
- pedantic fixes
liblangtag.spec | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/liblangtag.spec b/liblangtag.spec
index 252a946..04ba786 100644
--- a/liblangtag.spec
+++ b/liblangtag.spec
@@ -2,7 +2,7 @@ Summary: An interface library to access tags for identifying languages
Name: liblangtag
Version: 0.4.0
Release: 1
-License: LGPLv3+
+License: LGPL v3+
Group: Libraries
URL: http://tagoh.bitbucket.org/liblangtag/
Source0: https://bitbucket.org/tagoh/liblangtag/downloads/%{name}-%{version}.tar.bz2
@@ -36,7 +36,7 @@ Features:
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
-Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
@@ -49,11 +49,12 @@ developing applications that use %{name}.
%build
%configure \
+ --disable-silent-rules \
--disable-static \
--enable-shared \
--disable-introspection \
-%{__make} V=1 \
+%{__make} \
LD_LIBRARY_PATH=`pwd`/liblangtag/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
%install
@@ -62,17 +63,17 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la
+%{__rm} $RPM_BUILD_ROOT/%{_libdir}/*.la $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
-%doc AUTHORS COPYING NEWS README
+%doc AUTHORS NEWS README
%attr(755,root,root) %{_libdir}/%{name}.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/%{name}.so.1
%dir %{_libdir}/%{name}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/liblangtag.git/commitdiff/3e23b46df0f0f544dc2a4b873d1f12ea1e63476d
More information about the pld-cvs-commit
mailing list