mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 06:22:43 +00:00
Renumber sources
This gets rid of the vestigial remnants of the now-obsolete release-to-master.patch , and moves gnulib to be earlier in our source list. Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
af4ccfff6b
commit
0cb30b7d2b
2 changed files with 8 additions and 9 deletions
|
@ -307,7 +307,7 @@ cp %{SOURCE6} .gitignore \
|
|||
cp %{SOURCE7} bootstrap \
|
||||
cp %{SOURCE8} bootstrap.conf \
|
||||
cp %{SOURCE9} ./grub-core/tests/strtoull_test.c \
|
||||
cp %{SOURCE12} gnulib-%{gnulibversion}.tar.gz \
|
||||
cp %{SOURCE2} gnulib-%{gnulibversion}.tar.gz \
|
||||
tar -zxf gnulib-%{gnulibversion}.tar.gz \
|
||||
mv gnulib-%{gnulibversion} gnulib \
|
||||
git init \
|
||||
|
|
15
grub2.spec
15
grub2.spec
|
@ -16,8 +16,8 @@ URL: http://www.gnu.org/software/grub/
|
|||
Obsoletes: grub < 1:0.98
|
||||
Source0: https://ftp.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz
|
||||
Source1: grub.macros
|
||||
Source2: grub.patches
|
||||
#Source3: release-to-master.patch
|
||||
Source2: gnulib-%{gnulibversion}.tar.gz
|
||||
Source3: 99-grub-mkconfig.install
|
||||
Source4: http://unifoundry.com/unifont-5.1.20080820.pcf.gz
|
||||
Source5: theme.tar.bz2
|
||||
Source6: gitignore
|
||||
|
@ -25,14 +25,10 @@ Source7: bootstrap
|
|||
Source8: bootstrap.conf
|
||||
Source9: strtoull_test.c
|
||||
Source10: 20-grub.install
|
||||
Source11: 99-grub-mkconfig.install
|
||||
Source12: gnulib-%{gnulibversion}.tar.gz
|
||||
Source11: grub.patches
|
||||
|
||||
%include %{SOURCE1}
|
||||
|
||||
# generate with do-rebase
|
||||
%include %{SOURCE2}
|
||||
|
||||
BuildRequires: gcc efi-srpm-macros
|
||||
BuildRequires: flex bison binutils python3
|
||||
BuildRequires: ncurses-devel xz-devel bzip2-devel
|
||||
|
@ -69,6 +65,9 @@ variety of kernel formats, file systems, computer architectures and \
|
|||
hardware devices.\
|
||||
%{nil}
|
||||
|
||||
# generate with do-rebase
|
||||
%include %{SOURCE11}
|
||||
|
||||
%description
|
||||
%{desc}
|
||||
|
||||
|
@ -248,7 +247,7 @@ EOF
|
|||
# Install kernel-install scripts
|
||||
install -d -m 0755 %{buildroot}%{_prefix}/lib/kernel/install.d/
|
||||
install -D -m 0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE10}
|
||||
install -D -m 0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE11}
|
||||
install -D -m 0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE3}
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/kernel/install.d/
|
||||
# Install systemd user service to set the boot_success flag
|
||||
install -D -m 0755 -t %{buildroot}%{_userunitdir} \
|
||||
|
|
Loading…
Reference in a new issue