packages: neercs/neercs.spec - don't build docs just to remove them
glen
glen at pld-linux.org
Thu Feb 24 10:21:49 CET 2011
Author: glen Date: Thu Feb 24 09:21:49 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- don't build docs just to remove them
---- Files affected:
packages/neercs:
neercs.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/neercs/neercs.spec
diff -u packages/neercs/neercs.spec:1.1 packages/neercs/neercs.spec:1.2
--- packages/neercs/neercs.spec:1.1 Thu Feb 24 10:18:51 2011
+++ packages/neercs/neercs.spec Thu Feb 24 10:21:44 2011
@@ -13,6 +13,7 @@
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: pkgconfig
+BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -32,6 +33,8 @@
%setup -q -n %{name}
install -d .auto
+%{__sed} -i -e '/SUBDIRS/ s/doc//' Makefile.am
+
%build
%{__aclocal} -I .auto
%{__autoconf}
@@ -45,7 +48,8 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+cp -p doc/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
@@ -63,5 +67,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2011/02/24 09:21:44 glen
+- don't build docs just to remove them
+
Revision 1.1 2011/02/24 09:18:51 glen
- new
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/neercs/neercs.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list