aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--TODO2
-rw-r--r--kmod.attr2
-rw-r--r--kmod.prov17
4 files changed, 1 insertions, 21 deletions
diff --git a/NEWS b/NEWS
index a99f05d..3cfb95a 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@
- kill obsolete %defaultbuildroot
- kill old %__find_(provides|requires)
- kill redondant/unmainted macro (mga#4927)
+- kill unused kmod.* files
Version 2.7 - 26 October 2014, by Pascal Terjan
diff --git a/TODO b/TODO
index 9880235..5975ac3 100644
--- a/TODO
+++ b/TODO
@@ -1,11 +1,9 @@
- Review .prov/.req and report upstream for merge
- add tests, tests, and tests !
-- rewrite kmod.prov in perl, would make the script clearer
- make spec-helper replace "#!env interpreter" by "#!/path/to/inter"
instead of resolving the right dep in find-requires
- after rpm-4.11:
o replace %applypatches by %autosetup/patch
- sync with FC req/prov helpers:
- o switch our kmod.prov to FC one
o include firmware.prov
- devel.req: drop unused ldd path since we use objdump since 2007
diff --git a/kmod.attr b/kmod.attr
deleted file mode 100644
index 316f8b5..0000000
--- a/kmod.attr
+++ /dev/null
@@ -1,2 +0,0 @@
-%__kmod_provides %{_rpmconfigdir}/mageia/kmod.prov
-%__kmod_path ^/lib/modules/.*$
diff --git a/kmod.prov b/kmod.prov
deleted file mode 100644
index f02d8a0..0000000
--- a/kmod.prov
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh +x
-
-IFS=$'\n'
-
-for i in $(grep -E '(/lib/modules/.*\.ko|/lib/modules/.*/modules.builtin)');
-do
- kmod=$(basename $i | sed -e 's/.[xg]z//');
-
- if [ $kmod == "modules.builtin" ]; then
- for j in $(cat $i); do
- j=$(basename $j);
- echo "kmod($j)"
- done
- else
- echo "kmod($kmod)"
- fi
-done