]> git.pld-linux.org Git - packages/openssl.git/commitdiff
- delete non openssl_ prefixed man pages in form of groff symlinks
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 10 Apr 2010 14:55:55 +0000 (14:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    openssl.spec -> 1.215

openssl.spec

index 973e82464f3f9f9ff850fc121590123503ec6fc3..6f601a29c21286a2c79dc9a093ee3189ed543073 100644 (file)
@@ -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*
This page took 0.146528 seconds and 4 git commands to generate.