Mailinglist Archive: opensuse-packaging (156 mails)
| < Previous | Next > |
[opensuse-packaging] script to .spec file eqivalent
- From: <doiggl@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 16 Jun 2010 06:50:21 +0000
- Message-id: <2e5c91e333a41e3c1df7fd5b35eacc33@xxxxxxxxxxxxxxxxxxxxxxx>
Hello,
Could the following be turned into a .spec file, if so, could you list the
the equivilant of the following script to specfile please.
The result would be 2 built rpms.
Thanks Glenn
# Begin
majorv=34
cd /usr/src/
rm -rf linux-2.6.$majorv.$minorv
bunzip2 linux-2.6.$majorv.tar.bz2
tar -xvf linux-2.6.$majorv.tar
cp -v /boot/config-$(uname -r) /usr/src/linux-2.6.$majorv/.config
bunzip2 reiser4-for-2.6.$majorv.patch.bz2
cd /usr/src/linux-2.6.$majorv
patch -p1 --dry-run < ../reiser4-for-2.6.$majorv.patch
patch -p1 < ../reiser4-for-2.6.$majorv.patch
diff .config /usr/src/linux-2.6.$majorv/.config
cp -v .config /usr/src/linux-2.6.$majorv/.config
make menuconfig
make rpm-pkg
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
Could the following be turned into a .spec file, if so, could you list the
the equivilant of the following script to specfile please.
The result would be 2 built rpms.
Thanks Glenn
# Begin
majorv=34
cd /usr/src/
rm -rf linux-2.6.$majorv.$minorv
bunzip2 linux-2.6.$majorv.tar.bz2
tar -xvf linux-2.6.$majorv.tar
cp -v /boot/config-$(uname -r) /usr/src/linux-2.6.$majorv/.config
bunzip2 reiser4-for-2.6.$majorv.patch.bz2
cd /usr/src/linux-2.6.$majorv
patch -p1 --dry-run < ../reiser4-for-2.6.$majorv.patch
patch -p1 < ../reiser4-for-2.6.$majorv.patch
diff .config /usr/src/linux-2.6.$majorv/.config
cp -v .config /usr/src/linux-2.6.$majorv/.config
make menuconfig
make rpm-pkg
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |