Accepting request 57079 from Base:System

Accepted submit request 57079 from user jreidinger

OBS-URL: https://build.opensuse.org/request/show/57079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Bootloader?expand=0&rev=97
This commit is contained in:
Berthold Gunreben 2011-01-07 09:40:08 +00:00 committed by Git OBS Bridge
commit ef6a0099cd
4 changed files with 36 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f16de5caf712e415c203dfdbde3c2be3c44eb753da932c1ba5766ac13ebb64c9
size 52639

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a25dfc22f1ce3fe5f1feb0e483eb42c160fe3c40639e37cc18d0ff42dea1c35b
size 52632

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
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
- fix creating new xen section with vga mode
- 0.5.14
-------------------------------------------------------------------
Tue Oct 19 09:49:28 UTC 2010 - jreidinger@novell.com

View File

@ -1,30 +1,22 @@
#
# spec file for package perl-Bootloader (Version 0.5.13)
# spec file for package perl-Bootloader (Version 0.5.15)
#
# Copyright (c) 2010 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
# package are under the same license as the package itself.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Bootloader
Version: 0.5.13
Release: 1
Version: 0.5.15
Release: 0
Requires: perl-base = %{perl_version}
Requires: e2fsprogs
Recommends: perl-gettext
AutoReqProv: on
Autoreqprov: on
Group: System/Boot
License: GNU General Public License (GPL)
Summary: Library for Configuring Boot Loaders
@ -55,7 +47,7 @@ Authors:
touch Makefile.PL
perl -MExtUtils::MakeMaker -e 'WriteMakefile (NAME => "Bootloader")'
make %{?_smp_mflags}
pod2man %{SOURCE1} | gzip > update-Bootloader.8.gz
pod2man %{SOURCE1} | gzip > update-bootloader.8.gz
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
@ -67,25 +59,33 @@ install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/bootloader
install -d -m 755 $RPM_BUILD_ROOT/boot
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/boot/
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
%ifarch %ix86 x86_64
rm $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{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
%endif
%endif
%ifarch ppc ppc64
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
%endif
%endif
%ifarch s390 s390x
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
%endif
%endif
%ifarch ia32 ia64
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
%endif
%endif
%files
%defattr(-, root, root)
@ -93,9 +93,11 @@ sed -i '/ZIPL/D;/PowerLILO/D;/\/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorar
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/Bootloader
%{perl_vendorlib}/Bootloader
%if 0%{?suse_version} == 0 || 0%{?suse_version} <= 1130
/var/adm/perl-modules/perl-Bootloader
%endif
/sbin/update-bootloader
/usr/lib/bootloader
/boot/boot.readme
%changelog
%changelog -n perl-Bootloader