rpms/kernel/devel kernel-2.6.spec,1.3240,1.3241

Dave Jones (davej) fedora-extras-commits at redhat.com
Fri Jun 29 06:42:04 UTC 2007


Author: davej

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18836

Modified Files:
	kernel-2.6.spec 
Log Message:
remove all this bullshit


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.3240
retrieving revision 1.3241
diff -u -r1.3240 -r1.3241
--- kernel-2.6.spec	25 Jun 2007 23:52:57 -0000	1.3240
+++ kernel-2.6.spec	29 Jun 2007 06:41:28 -0000	1.3241
@@ -371,7 +371,6 @@
 
 Source10: COPYING.modules
 Source11: genkey
-Source12: kabitool
 Source14: find-provides
 Source15: merge.pl
 
@@ -501,12 +500,6 @@
 
 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root-%{_target_cpu}
 
-# Override find_provides to use a script that provides "kernel(symbol) = hash".
-# Pass path of the RPM temp dir containing kabideps to find-provides script.
-#global _use_internal_dependency_generator 0
-#define __find_provides %_sourcedir/find-provides %{_tmppath}
-#define __find_requires /usr/lib/rpm/redhat/find-requires kernel
-
 %ifarch x86_64
 Obsoletes: kernel-smp
 %endif
@@ -1275,18 +1268,6 @@
     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer
     make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer
 
-    # Create the kABI metadata for use in packaging
-#   echo "**** GENERATING kernel ABI metadata ****"
-#   gzip -c9 < Module.symvers > $RPM_BUILD_ROOT/boot/symvers-$KernelVer.gz
-#   chmod 0755 %_sourcedir/kabitool
-#   if [ ! -e $RPM_SOURCE_DIR/kabi_whitelist ]; then
-#       %_sourcedir/kabitool -b $RPM_BUILD_ROOT/$DevelDir -k $KernelVer -l $RPM_BUILD_ROOT/kabi_whitelist
-#   else
-#       cp $RPM_SOURCE_DIR/kabi_whitelist $RPM_BUILD_ROOT/kabi_whitelist
-#   fi
-#   rm -f %{_tmppath}/kernel-$KernelVer-kabideps
-#    %_sourcedir/kabitool -b . -d %{_tmppath}/kernel-$KernelVer-kabideps -k $KernelVer -w $RPM_BUILD_ROOT/kabi_whitelist
-
     # And save the headers/makefiles etc for building modules against
     #
     # This all looks scary, but the end result is supposed to be:
@@ -1305,8 +1286,6 @@
     # first copy everything
     cp --parents `find  -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
     cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
-#    mv $RPM_BUILD_ROOT/kabi_whitelist $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
-#    cp symsets-$KernelVer.tar.gz $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
     # then drop all but the needed Makefiles/Kconfig files
     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Documentation
     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts




More information about the scm-commits mailing list