[packages/acroread] - _noautoreq supporting rpm 4/5 - dropped redundant skip_post_check_so (there is no_install_post_che

qboosh qboosh at pld-linux.org
Thu Jan 31 17:55:30 CET 2013


commit a90af9c0d68850a67c4dee0c285e7b3d067581ba
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jan 31 17:56:26 2013 +0100

    - _noautoreq supporting rpm 4/5
    - dropped redundant skip_post_check_so (there is no_install_post_check_so already)

 acroread.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/acroread.spec b/acroread.spec
index a46f003..d88525a 100644
--- a/acroread.spec
+++ b/acroread.spec
@@ -53,9 +53,12 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_noautostrip	.*\.api
 %define		_noautoprov	libcrypto\.so.* libssl\.so.* libcurl\.so.* libicu.* libstdc++\.so.* libgcc_s\.so.*
+%if "%{_rpmversion}" >= "5.0"
 %define		_noautoreq	%{_noautoprov} '^lib.*\.so$' '^lib.*\\(VERSION\\)$'
+%else
+%define		_noautoreq	%{_noautoprov} '^lib.*\.so$' '^lib.*\(VERSION\)$'
+%endif
 %define         no_install_post_check_so        1
-%define		skip_post_check_so libWRServices.so.3.1 libadobelinguistic.so.3.2.0 libauthplay.so.0.0.0
 
 %description
 Adobe(R) Reader(R) is free software that lets you view and print PDF
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/acroread.git/commitdiff/a90af9c0d68850a67c4dee0c285e7b3d067581ba



More information about the pld-cvs-commit mailing list