66527c3
Name:           kmodtool
66527c3
Version:        1
888d8b8
Release:        26%{?dist}
66527c3
Summary:        Tool for building kmod packages
66527c3
License:        MIT
66527c3
URL:            http://rpmfusion.org/Packaging/KernelModules/Kmods2
66527c3
# We are upstream, these files are maintained directly in pkg-git
66527c3
Source1:        %{name}-kmodtool
66527c3
Source2:        %{name}-kernel-variants
66527c3
BuildArch:      noarch
66527c3
66527c3
%description
66527c3
This package contains tools and list of recent kernels that get used when
66527c3
building kmod-packages.
66527c3
66527c3
66527c3
%prep
66527c3
# nothing to prep
66527c3
66527c3
66527c3
%build
66527c3
# nothing to build
66527c3
66527c3
66527c3
%install
66527c3
mkdir -p $RPM_BUILD_ROOT/%{_bindir} $RPM_BUILD_ROOT/%{_datadir}/%{name}/
66527c3
install -p -m 0755 %{SOURCE1}  $RPM_BUILD_ROOT/%{_bindir}/kmodtool
66527c3
install -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/%{name}/kernel-variants
66527c3
66527c3
# adjust default-path
66527c3
sed -i 's|^default_prefix=.*|default_prefix=%{_datadir}/%{name}/|'  \
66527c3
 $RPM_BUILD_ROOT/%{_bindir}/kmodtool
66527c3
888d8b8
# RHEL/CentOS 6 ships only /sbin/depmod, but not /usr/sbin/depmod
888d8b8
%if 0%{?rhel} == 6
888d8b8
sed -i 's|%{_sbindir}/depmod|/sbin/depmod|g' $RPM_BUILD_ROOT%{_bindir}/kmodtool
888d8b8
%endif
888d8b8
66527c3
66527c3
%files
66527c3
%{_bindir}/*
66527c3
%{_datadir}/%{name}
66527c3
66527c3
66527c3
%changelog
888d8b8
* Tue Sep 19 2017 Robert Scheck <robert@fedoraproject.org> - 1-26
888d8b8
- Add conditional fix for (/usr)/sbin/depmod for RHEL/CentOS 6
888d8b8
4a01da5
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1-25
4a01da5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4a01da5
66527c3
* Thu Feb 16 2017 Hans de Goede <hdegoede@redhat.com> - 1-24
66527c3
- Modernize .spec a bit
66527c3
- Submit to Fedora for package review
66527c3
66527c3
* Sat Dec 07 2013 Nicolas Chauvet <kwizart@gmail.com> - 1-23
66527c3
- Add support for lpae kernel variant for ARM
66527c3
66527c3
* Sat Feb 23 2013 Nicolas Chauvet <kwizart@gmail.com> - 1-22
66527c3
- Fix directory ownership rfbz#2684
66527c3
66527c3
* Mon Sep 03 2012 Nicolas Chauvet <kwizart@gmail.com> - 1-21
66527c3
- Add ARM varriant
66527c3
66527c3
* Sat May 26 2012 Nicolas Chauvet <kwizart@gmail.com> - 1-20
66527c3
- Fix for depmod - rfbz#2340
66527c3
66527c3
* Wed Feb 01 2012 Nicolas Chauvet <kwizart@gmail.com> - 1-19
66527c3
- Update to 0.12.0
66527c3
66527c3
* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1-18
66527c3
- rebuild for new F11 features
66527c3
66527c3
* Thu Feb 26 2009 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-17
66527c3
- add support for obsoletes to kmodtool
66527c3
66527c3
* Sun Feb 01 2009 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-16
66527c3
- add posttrans hooks to akmod packages, to make akmods build them
66527c3
  after install or update
66527c3
66527c3
* Sat Jan 31 2009 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-15
66527c3
- require kmod-${kmodname}-${kernel_uname_r} with >= in meta package to
66527c3
  avoid problems if user has a newer akmods package that wants to install
66527c3
  a newer kmod-${kmodname}-${kernel_uname_r}
66527c3
66527c3
* Sun Dec 14 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-14
66527c3
- don't require the kmod-meta package in kmod-(uname -r) packages
66527c3
66527c3
* Tue Sep 30 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-13
66527c3
- rebuild for RPM Fusion
66527c3
66527c3
* Sat Aug 02 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-12
66527c3
- fix #2056 (kmod provides in akmod package needs epoch)
66527c3
66527c3
* Sat Jun 14 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-11
66527c3
- fix #2011
66527c3
66527c3
* Sun Apr 06 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-10
66527c3
- use better Requires and BuildRequires to avoid fileslist download
66527c3
66527c3
* Sat Mar 29 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-9
66527c3
- adjust to recent "arch and flavor in uname" changes from j-rod
66527c3
66527c3
* Sat Feb 23 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-8
66527c3
- add AkmodsBuildRequires stuff to akmods template, so those rare kmod
66527c3
  packages that need special BR can be added to the akmod package
66527c3
66527c3
* Sat Jan 26 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-7
66527c3
- fix the akmods vs. akmod confusion and use akmod normally
66527c3
66527c3
* Wed Jan 09 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-6
66527c3
- integrate akmodstool into kmodtool
66527c3
66527c3
* Mon Dec 17 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-5
66527c3
- update kmodtool, so the kmod-foo-<uname -r> package does not require the 
66527c3
  kmod-foo package when building for kernels that were passed with for-kernels
66527c3
66527c3
* Tue Dec 04 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-4
66527c3
- update kmodtool, so the kmod-foo metapackage requires the proper version 
66527c3
  of the kmod-foo-<uname -r> package
66527c3
66527c3
* Tue Dec 04 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-3
66527c3
- update kmodtool, so the kmod-foo metapackage provides foo-kmod (which it only
66527c3
  indirectly does); that should fix #1742, as kmod-foo has a shorter name now
66527c3
  then kmod-foo-<uname -r>
66527c3
66527c3
* Sat Dec 01 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-2
66527c3
- update kmodtool, so the kmod-foo-<uname -r> package tracks in kmod-foo
66527c3
66527c3
* Sun Oct 28 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 1-1
66527c3
- split buildsys stuff out into a seperate package
66527c3
- rename kmod-helpers-livna to kmodtool
66527c3
- add proper obsoletes
66527c3
- make package noarch
66527c3
66527c3
* Sat Oct 27 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 16-2
66527c3
- Update to latest kernels 2.6.23.1-35.fc8 2.6.21-2950.fc8xen
66527c3
66527c3
* Sat Oct 27 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 16-1
66527c3
- Update to latest kernels 2.6.23.1-35.fc8 2.6.21-2949.fc8xen
66527c3
66527c3
* Thu Oct 18 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 15-1
66527c3
- rebuilt for latest kernels
66527c3
66527c3
* Thu Oct 18 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 14-1
66527c3
- rebuilt for latest kernels
66527c3
66527c3
* Thu Oct 18 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 13-1
66527c3
- rebuilt for latest kernels
66527c3
66527c3
* Thu Oct 18 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 12-1
66527c3
- rebuilt for latest kernels
66527c3
66527c3
* Fri Oct 12 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 11-1
66527c3
- rebuilt for latest kernels
66527c3
66527c3
* Thu Oct 11 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 10-1
66527c3
- rebuilt for latest kernels
66527c3
66527c3
* Wed Oct 10 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 9-2
66527c3
- fix typo
66527c3
66527c3
* Wed Oct 10 2007 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 9-1
66527c3
- rebuilt for latest kernels
66527c3
66527c3
* Sun Oct 07 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 8-1
66527c3
- update for 2.6.23-0.224.rc9.git6.fc8
66527c3
66527c3
* Sun Oct 07 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 7-1
66527c3
- update for 2.6.23-0.222.rc9.git1.fc8
66527c3
66527c3
* Wed Oct 03 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 6-1
66527c3
- update for 2.6.23-0.217.rc9.git1.fc8 and 2.6.21-2947.fc8xen
66527c3
66527c3
* Wed Oct 03 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 5-1
66527c3
- disable --all-but-latest stuff -- does not work as expected
66527c3
- rename up2date list of kernels from "latest" to "current" as latest 
66527c3
  and newest are to similar in wording; asjust script as well
66527c3
- kmodtool: don't provide kernel-modules, not needed anymore with
66527c3
  the new stayle and hurts
66527c3
66527c3
* Sun Sep 09 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 4-2
66527c3
- fix typos in spec file and list-kernels script
66527c3
- interdependencies between the two buildsys-build packages needs to be
66527c3
  arch specific as well
66527c3
66527c3
* Sun Sep 09 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 4-1
66527c3
- s/latests/latest/
66527c3
- update kernel lists for rawhide and test2 kernels
66527c3
- make kmod-helpers-livna-list-kernels print BuildRequires for all kernels
66527c3
  as well; this is not needed and will slow build a bit as it will track 
66527c3
  all the kernel-devel packages in, but that way we make sure they are really
66527c3
  available in the buildsys
66527c3
66527c3
* Fri Sep 07 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 3-4
66527c3
- implement proper arch deps 
66527c3
66527c3
* Fri Sep 07 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 3-3
66527c3
- proper list of todays rawhide-kernels
66527c3
66527c3
* Fri Sep 07 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 3-2
66527c3
- fix typo in kmod-helpers-livna-latests-kernels
66527c3
66527c3
* Fri Sep 07 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 3-1
66527c3
- adjust for devel
66527c3
66527c3
* Sat Sep 01 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2-1
66527c3
- initial package