Skip to content

Commit

Permalink
build: cleanup filelists
Browse files Browse the repository at this point in the history
compile tested and checked that pkgs still contain the kernel config on
interesting distributions:

./lbbuild drbd -v 9.0.14-1 -k all -d rhel7.5 rhel6.0 \
    sles11-sp4 sles12-sp3 xenserver6.5 xenserver7.2
  • Loading branch information
rck committed Jun 21, 2018
1 parent 9bc37ca commit dc21aed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions filelist-redhat
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
%defattr(644,root,root,755)
%doc COPYING
%doc ChangeLog
%if 0%(grep -q "release 5" /etc/redhat-release && echo 1)
/lib/modules/%verrel%variant
%doc obj/k-config-%verrel%variant.gz
%else
/lib/modules/%verrel%dotvariant
%doc obj/k-config-%verrel%dotvariant.gz
%endif
%config /etc/depmod.d/drbd.conf
6 changes: 0 additions & 6 deletions filelist-suse
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
%defattr(-,root,root)
%doc COPYING
%doc ChangeLog
%if %{defined 3}
# on sles10, _suse_kernel_module_subpackage takes 3 arguments still
/lib/modules/%3-%1
%doc obj/k-config-%3-%1.gz
%else
/lib/modules/%2-%1
%doc obj/k-config-%2-%1.gz
%endif

0 comments on commit dc21aed

Please sign in to comment.