[packages/smartmontools] - quote pld_release, otherwise rpm fails

arekm arekm at pld-linux.org
Sat Feb 16 18:31:05 CET 2013


commit 59ccbf9d9a9325609750f4998deb7ce755616eef
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Feb 16 18:31:02 2013 +0100

    - quote pld_release, otherwise rpm fails

 smartmontools.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/smartmontools.spec b/smartmontools.spec
index 02a7180..007fd55 100644
--- a/smartmontools.spec
+++ b/smartmontools.spec
@@ -33,7 +33,7 @@ BuildRequires:	rpm >= 4.4.9-56
 BuildRequires:	rpmbuild(macros) >= 1.647
 Requires(post,preun):	/sbin/chkconfig
 Requires:	rc-scripts >= 0.4.3.0
-%if %{pld_release} != "ac"
+%if "%{pld_release}" != "ac"
 Requires(post,preun,postun):	systemd-units >= 38
 Requires:	systemd-units >= 38
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/smartmontools.git/commitdiff/59ccbf9d9a9325609750f4998deb7ce755616eef



More information about the pld-cvs-commit mailing list