Cleanup deps for new grub2 packaging.
- Explicitly require grub2-tools on platforms that need grub2-editenv - Minor packaging cleanups Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
8f77e4538d
commit
5eb64ab406
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
grubby-*.tar.bz2
|
grubby-*.tar.bz2
|
||||||
clog
|
clog
|
||||||
*.rpm
|
*.rpm
|
||||||
|
/8.40-1.tar.gz
|
||||||
|
18
grubby.spec
18
grubby.spec
@ -1,14 +1,15 @@
|
|||||||
Name: grubby
|
Name: grubby
|
||||||
Version: 8.40
|
Version: 8.40
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Command line tool for updating bootloader configs
|
Summary: Command line tool for updating bootloader configs
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/rhinstaller/grubby
|
URL: https://github.com/rhinstaller/grubby
|
||||||
# we only pull git snaps at the moment
|
# we only pull git snaps at the moment
|
||||||
# git clone git@github.com:rhinstaller/grubby.git
|
# git clone git@github.com:rhinstaller/grubby.git
|
||||||
# git archive --format=tar --prefix=grubby-%{version}/ HEAD |bzip2 > grubby-%{version}.tar.bz2
|
# git archive --format=tar --prefix=grubby-%%{version}/ HEAD |bzip2 > grubby-%%{version}.tar.bz2
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
# Source0: %%{name}-%%{version}.tar.bz2
|
||||||
|
Source0: https://github.com/rhboot/grubby/archive/%{version}-1.tar.gz
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: pkgconfig glib2-devel popt-devel
|
BuildRequires: pkgconfig glib2-devel popt-devel
|
||||||
@ -16,7 +17,8 @@ BuildRequires: libblkid-devel git
|
|||||||
# for make test / getopt:
|
# for make test / getopt:
|
||||||
BuildRequires: util-linux-ng
|
BuildRequires: util-linux-ng
|
||||||
%ifarch aarch64 i686 x86_64 ppc ppc64
|
%ifarch aarch64 i686 x86_64 ppc ppc64
|
||||||
BuildRequires: /usr/bin/grub2-editenv
|
BuildRequires: grub2-tools
|
||||||
|
Requires: grub2-tools
|
||||||
%endif
|
%endif
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
Requires: s390utils-base
|
Requires: s390utils-base
|
||||||
@ -33,7 +35,7 @@ which install new kernels and need to find information about the current boot
|
|||||||
environment.
|
environment.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n grubby-%{version}-1
|
||||||
|
|
||||||
git init
|
git init
|
||||||
git config user.email "noone@example.com"
|
git config user.email "noone@example.com"
|
||||||
@ -79,6 +81,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 12 2017 Peter Jones <pjones@redhat.com> - 8.40-7
|
||||||
|
- Explicitly require grub2-tools on platforms that need grub2-editenv
|
||||||
|
- Minor packaging cleanups
|
||||||
|
|
||||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-6
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.40-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
@ -411,7 +417,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
Resolves: rhbz#520515
|
Resolves: rhbz#520515
|
||||||
|
|
||||||
* Wed Sep 09 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.4-1
|
* Wed Sep 09 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.4-1
|
||||||
- Add --dracut cmdline argument for %post generation of dracut initrd
|
- Add --dracut cmdline argument for %%post generation of dracut initrd
|
||||||
|
|
||||||
* Wed Aug 26 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.3-1
|
* Wed Aug 26 2009 Hans de Goede <hdegoede@redhat.com> - 7.0.3-1
|
||||||
- Silence error when no /etc/sysconfig/keyboard (#517187)
|
- Silence error when no /etc/sysconfig/keyboard (#517187)
|
||||||
|
Loading…
Reference in New Issue
Block a user