commit 0109ecc6e5ac4d194f444a6ad71eccf5e5bbd4f6
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Jan 27 11:07:51 2015 +0200

    kernel modules: fix syntax error; rel 2

 rpm-build-macros.spec | 2 +-
 rpm.macros.kernel     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rpm-build-macros.spec b/rpm-build-macros.spec
index add7907..d5871c6 100644
--- a/rpm-build-macros.spec
+++ b/rpm-build-macros.spec
@@ -4,7 +4,7 @@ Summary:        PLD Linux RPM build macros
 Summary(pl.UTF-8):     Makra do budowania pakietów RPM dla Linuksa PLD
 Name:          rpm-build-macros
 Version:       %{rpm_macros_rev}
-Release:       1
+Release:       2
 License:       GPL
 Group:         Development/Building
 Source0:       rpm.macros
diff --git a/rpm.macros.kernel b/rpm.macros.kernel
index 57aac80..0a3d27b 100644
--- a/rpm.macros.kernel
+++ b/rpm.macros.kernel
@@ -113,7 +113,7 @@ done)
 %{!?debug:set +x;} \
        if [ -d $RPM_BUILD_ROOT/lib/modules ]; then \
                tool=$(%{kmod_compress_cmd} --version | head -n1); \
-               ext=$(case "$tool" in gzip*) ext=gz;; xz*) ext=xz;; esac; \
+               case "$tool" in gzip*) ext=gz;; xz*) ext=xz;; esac; \
                q=$(find $RPM_BUILD_ROOT/lib/modules -name '*o' -type f 
-print); \
                if [ "$q" ]; then \
                        printf "Compress %d kernel modules..." $(echo "$q" | wc 
-l); \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/0109ecc6e5ac4d194f444a6ad71eccf5e5bbd4f6

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

Reply via email to