[packages/glibc/AC-branch] - fix man links checks
glen
glen at pld-linux.org
Wed Jan 28 00:02:27 CET 2015
commit ceef82bd91dbc20bb410534bf275211a795ba2d3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Apr 26 10:46:33 2013 +0200
- fix man links checks
glibc.spec | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/glibc.spec b/glibc.spec
index b6c4c2b..0493fc5 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -1310,6 +1310,18 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
# we don't support kernel without ptys support
rm -f $RPM_BUILD_ROOT%{_libdir}/pt_chown
+# stub for man page from man-pages package to make rpm consistency check happy
+# don't package them here
+:>$RPM_BUILD_ROOT%{_mandir}/man2/syslog.2
+:>$RPM_BUILD_ROOT%{_mandir}/ru/man2/syslog.2
+:>$RPM_BUILD_ROOT%{_mandir}/es/man2/syslog.2
+:>$RPM_BUILD_ROOT%{_mandir}/fr/man2/syslog.2
+:>$RPM_BUILD_ROOT%{_mandir}/ja/man2/syslog.2
+
+# remove links to non existant translations
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/pl/man3/{alphasort,cfgetispeed,cfgetospeed,cfmakeraw,cfsetispeed,cfsetospeed,closelog,dn_comp,dn_expand,fscanf}.3
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/it/man7/latin2.7
+
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/ceef82bd91dbc20bb410534bf275211a795ba2d3
More information about the pld-cvs-commit
mailing list