]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- 1.743; treat only *.o and *.ko files as kernel modules. Avoids trying to strip... auto/th/rpm-build-macros-1.743-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 8 Jul 2019 09:36:59 +0000 (11:36 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 8 Jul 2019 09:36:59 +0000 (11:36 +0200)
rpm-build-macros.spec
rpm.macros

index 4116ba2dc78cf774a8dc39393b05777bb525269f..d2f5d2847a9e155c69c5daacaf0a7065e02cb7f4 100644 (file)
@@ -1,4 +1,4 @@
-%define                rpm_macros_rev  1.742
+%define                rpm_macros_rev  1.743
 %define                find_lang_rev   1.40
 Summary:       PLD Linux RPM build macros
 Summary(pl.UTF-8):     Makra do budowania pakietów RPM dla Linuksa PLD
index 01c8a3993745d5f0106daae568c1aabaab2dc7a6..cbfa117cb73ab026bc40fb13c5f772861fbb87db 100644 (file)
@@ -621,7 +621,7 @@ Provides: %{1} = %{?epoch:%{epoch}:}%{?version:%{version}}%{?release:-%{release}
 %{!?debug:set +x;} \
 if [ -d "$RPM_BUILD_ROOT" ]; then \
        if [ -d $RPM_BUILD_ROOT/lib/modules ]; then \
-               modulelist=$(find $RPM_BUILD_ROOT/lib/modules -name '*o' -type f -print); \
+               modulelist=$(find $RPM_BUILD_ROOT/lib/modules \( -name '*.o' -o -name '*.ko' \) -type f -print); \
                if [ "$modulelist" ]; then \
                        modulecount=$(echo "$modulelist" | wc -l); \
                        printf "Stripping %d kernel modules..." $modulecount; \
This page took 0.085505 seconds and 4 git commands to generate.