[packages/openssl102: 297/432] - delete non openssl_ prefixed man pages in form of groff symlinks
adwol
adwol at pld-linux.org
Sat Sep 29 01:26:32 CEST 2018
commit 8e58a9c7944ae75cb7e27dfb75c7fe12a741a0cc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Apr 10 14:55:55 2010 +0000
- delete non openssl_ prefixed man pages in form of groff symlinks
Changed files:
openssl.spec -> 1.215
openssl.spec | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/openssl.spec b/openssl.spec
index 973e824..6f601a2 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -318,6 +318,15 @@ cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1/openssl.1
install -p %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/ssl-certificate
install -p %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/c_rehash.sh
+for man in $RPM_BUILD_ROOT%{_mandir}/man3/*.3; do
+ b=$(readlink "$man" || :)
+ [ -z "$b" ] && continue
+ # delete manual pages pointing to nowhere
+ [ ! -f "$RPM_BUILD_ROOT%{_mandir}/man3/$b" ] && rm "$man"
+ # delete manual pages pointing to openssl_ prefixed man page
+ echo "$b" | grep -q "^openssl_" && rm "$man"
+done
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -386,6 +395,7 @@ fi
%attr(755,root,root) %{_libdir}/%{name}/c_info
%attr(755,root,root) %{_libdir}/%{name}/c_issuer
%attr(755,root,root) %{_libdir}/%{name}/c_name
+%attr(755,root,root) %{_libdir}/%{name}/tsget
%{_mandir}/man1/openssl.1*
%{_mandir}/man1/openssl_asn1parse.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openssl102.git/commitdiff/9fc1b1b87b259e8a327c99835865e91a391efc9e
More information about the pld-cvs-commit
mailing list