]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
kernel modules: fix syntax error; rel 2 auto/th/rpm-build-macros-1.707-2
authorElan Ruusamäe <glen@delfi.ee>
Tue, 27 Jan 2015 09:07:51 +0000 (11:07 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 27 Jan 2015 09:07:51 +0000 (11:07 +0200)
rpm-build-macros.spec
rpm.macros.kernel

index add7907544a993be735ea00525e298267274dfab..d5871c645ab91fa92687ba9d9f0aa072512fb57d 100644 (file)
@@ -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
index 57aac808041c464c9e122202633484506f7e4691..0a3d27baa15dd9da196a0bb690a3393a9022fc81 100644 (file)
@@ -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); \
This page took 0.097229 seconds and 4 git commands to generate.