commit b9a5a3a1933770880826f3dbef775314462209e6
Author: Szymon Siwek <[email protected]>
Date:   Sat Sep 21 18:05:38 2013 +0200

    trying to avoid distifile error: "undefined macro _alt_kernel"

 acpi_call.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/acpi_call.spec b/acpi_call.spec
index a15b26c..88ddb88 100644
--- a/acpi_call.spec
+++ b/acpi_call.spec
@@ -25,7 +25,9 @@ Source0:      http://sls.warszawa.pl/%{name}-%{version}.tar.gz
 # Source0-md5: f4eb8bb4d4413a5ae65aa7d77f4112c0
 URL:           https://github.com/mkottman/acpi_call
 %if %{with kernel}
-%{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 
3:2.6.20.2}
+%if %{with dist_kernel}
+BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2
+%endif
 BuildRequires: rpmbuild(macros) >= 1.379
 %endif
 ExclusiveArch: %{ix86} %{x8664}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/acpi_call.git/commitdiff/b9a5a3a1933770880826f3dbef775314462209e6

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to