- fix build with new perl missing .packlist
- fix malformed xen append (bnc#657911) - 0.5.15 OBS-URL: https://build.opensuse.org/package/show/Base:System/perl-Bootloader?expand=0&rev=27
This commit is contained in:
parent
a25eacd3f2
commit
e57cf916c4
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:448f0f2fb4749d294de1b5bb546849705664bf877b9b330810c9e2309f91a72d
|
|
||||||
size 52627
|
|
3
perl-Bootloader-0.5.15.tar.bz2
Normal file
3
perl-Bootloader-0.5.15.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a25dfc22f1ce3fe5f1feb0e483eb42c160fe3c40639e37cc18d0ff42dea1c35b
|
||||||
|
size 52632
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 4 13:12:51 UTC 2011 - jreidinger@novell.com
|
||||||
|
|
||||||
|
- fix build with new perl missing .packlist
|
||||||
|
- fix malformed xen append (bnc#657911)
|
||||||
|
- 0.5.15
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 6 18:02:40 UTC 2010 - jreidinger@novell.com
|
Mon Dec 6 18:02:40 UTC 2010 - jreidinger@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Bootloader (Version 0.5.14)
|
# spec file for package perl-Bootloader (Version 0.5.15)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -11,7 +11,7 @@
|
|||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
Name: perl-Bootloader
|
Name: perl-Bootloader
|
||||||
Version: 0.5.14
|
Version: 0.5.15
|
||||||
Release: 0
|
Release: 0
|
||||||
Requires: perl-base = %{perl_version}
|
Requires: perl-base = %{perl_version}
|
||||||
Requires: e2fsprogs
|
Requires: e2fsprogs
|
||||||
@ -47,7 +47,7 @@ Authors:
|
|||||||
touch Makefile.PL
|
touch Makefile.PL
|
||||||
perl -MExtUtils::MakeMaker -e 'WriteMakefile (NAME => "Bootloader")'
|
perl -MExtUtils::MakeMaker -e 'WriteMakefile (NAME => "Bootloader")'
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
pod2man %{SOURCE1} | gzip > update-Bootloader.8.gz
|
pod2man %{SOURCE1} | gzip > update-bootloader.8.gz
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||||
@ -59,25 +59,33 @@ install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/bootloader
|
|||||||
install -d -m 755 $RPM_BUILD_ROOT/boot
|
install -d -m 755 $RPM_BUILD_ROOT/boot
|
||||||
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/boot/
|
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/boot/
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/usr/share/man/man8/
|
install -d -m 755 $RPM_BUILD_ROOT/usr/share/man/man8/
|
||||||
install -m 644 update-Bootloader.8.gz $RPM_BUILD_ROOT/usr/share/man/man8/
|
install -m 644 update-bootloader.8.gz $RPM_BUILD_ROOT/usr/share/man/man8/
|
||||||
#install only needed files for bootloader for specific architecture
|
#install only needed files for bootloader for specific architecture
|
||||||
%ifarch %ix86 x86_64
|
%ifarch %ix86 x86_64
|
||||||
rm $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{ZIPL*,PowerLILO*}
|
rm $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{ZIPL*,PowerLILO*}
|
||||||
rm $RPM_BUILD_ROOT/%{_mandir}/man?/{*ZIPL*,*PowerLILO*}
|
rm $RPM_BUILD_ROOT/%{_mandir}/man?/{*ZIPL*,*PowerLILO*}
|
||||||
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} <= 1130
|
||||||
sed -i '/ZIPL/D;/PowerLILO/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist
|
sed -i '/ZIPL/D;/PowerLILO/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%ifarch ppc ppc64
|
%ifarch ppc ppc64
|
||||||
rm $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{ZIPL*,LILO*,ELILO*,GRUB*}
|
rm $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{ZIPL*,LILO*,ELILO*,GRUB*}
|
||||||
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} <= 1130
|
||||||
sed -i '/ZIPL/D;/ELILO/D;/\/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist
|
sed -i '/ZIPL/D;/ELILO/D;/\/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
rm $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{*LILO*,GRUB*}
|
rm $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{*LILO*,GRUB*}
|
||||||
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} <= 1130
|
||||||
sed -i '/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist
|
sed -i '/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%ifarch ia32 ia64
|
%ifarch ia32 ia64
|
||||||
rm $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{LILO*,GRUB*,ZIPL*,PowerLILO*}
|
rm $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{LILO*,GRUB*,ZIPL*,PowerLILO*}
|
||||||
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} <= 1130
|
||||||
sed -i '/ZIPL/D;/PowerLILO/D;/\/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist
|
sed -i '/ZIPL/D;/PowerLILO/D;/\/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -85,7 +93,9 @@ sed -i '/ZIPL/D;/PowerLILO/D;/\/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorar
|
|||||||
%doc %{_mandir}/man?/*
|
%doc %{_mandir}/man?/*
|
||||||
%{perl_vendorarch}/auto/Bootloader
|
%{perl_vendorarch}/auto/Bootloader
|
||||||
%{perl_vendorlib}/Bootloader
|
%{perl_vendorlib}/Bootloader
|
||||||
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} <= 1130
|
||||||
/var/adm/perl-modules/perl-Bootloader
|
/var/adm/perl-modules/perl-Bootloader
|
||||||
|
%endif
|
||||||
/sbin/update-bootloader
|
/sbin/update-bootloader
|
||||||
/usr/lib/bootloader
|
/usr/lib/bootloader
|
||||||
/boot/boot.readme
|
/boot/boot.readme
|
||||||
|
Loading…
Reference in New Issue
Block a user