aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-13 03:09:20 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-06-21 12:50:41 +0200
commit517a9393c8f636d8cde2fe245bb86ccf112d7a00 (patch)
tree9ff9dc87777122f2437c063c2160a1ad40377830
parent080d5b42bdbc8596e1930377890afd012372301e (diff)
downloadrpm-setup-517a9393c8f636d8cde2fe245bb86ccf112d7a00.tar
rpm-setup-517a9393c8f636d8cde2fe245bb86ccf112d7a00.tar.gz
rpm-setup-517a9393c8f636d8cde2fe245bb86ccf112d7a00.tar.bz2
rpm-setup-517a9393c8f636d8cde2fe245bb86ccf112d7a00.tar.xz
rpm-setup-517a9393c8f636d8cde2fe245bb86ccf112d7a00.zip
remove unused kmod.* files
Should have been done in commit d629c66e5ee362a67c9564e74619104a51f769ee
-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