Browse Source

updated 3 packages

console-setup-1.196-1

grub2-2.04-3

ostree-2020.4-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12433 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 3 years ago
parent
commit
8ed0e003e4
3 changed files with 2039 additions and 129 deletions
  1. 318 0
      c/console-setup/console-setup-vl.spec
  2. 1085 129
      g/grub2/grub2-vl.spec
  3. 636 0
      o/ostree/ostree-vl.spec

+ 318 - 0
c/console-setup/console-setup-vl.spec

@@ -0,0 +1,318 @@
+
+Name:		console-setup
+Version:	1.196
+Release:	1%{?_dist_release}
+Summary:	Tools for configuring the console using X Window System key maps
+Group:		Applications/System
+Vendor:		Project Vine
+Distribution:	Vine Linux
+Packager:	tomop
+
+# For a breakdown of the licensing, see COPYRIGHT, copyright, copyright.fonts and copyright.xkb
+License:	GPLv2+ and MIT and Public Domain
+URL:		http://packages.debian.org/cs/sid/console-setup
+Source0:	http://ftp.de.debian.org/debian/pool/main/c/%{name}/%{name}_%{version}.tar.xz
+
+# Fixes installing paths to Fedora style
+Patch0:		console-setup-1.76-paths.patch
+# Fixes FSF address, sent to upstream
+Patch1:		console-setup-1.76-fsf-address.patch
+# Removes Caps_Lock to CtrlL_Lock substitution
+Patch2:		console-setup-1.84-ctrll-lock.patch
+
+Requires:	kbd
+# require 'xkeyboard-config' to have X Window keyboard descriptions?
+
+#BuildRequires:	perl-generators
+BuildRequires:	perl(encoding)
+BuildArch:	noarch
+
+%description
+This package provides the console with the same keyboard configuration
+scheme that X Window System has. Besides the keyboard, the package configures
+also the font on the console.  It includes a rich collection of fonts and
+supports several languages that would be otherwise unsupported on the console
+(such as Armenian, Georgian, Lao and Thai).
+
+
+%package -n bdf2psf
+Summary:	Generate console fonts from BDF source fonts
+
+%description -n bdf2psf
+This package provides a command-line converter that can be used in scripts
+to build console fonts from BDF sources automatically. The converter comes
+with a collection of font encodings that cover many of the world's
+languages. The output font can use a different character encoding from the
+input. When the source font does not define a glyph for a particular
+symbol in the encoding table, that glyph position in the console font is
+not wasted but used for another symbol.
+
+
+%prep
+%setup -q
+%patch0 -p1 -b .paths
+%patch1 -p1 -b .fsf-address
+%patch2 -p1 -b .ctrll-lock
+
+
+%build
+make build-linux
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make prefix=$RPM_BUILD_ROOT install-linux
+# we don't want another set of keyboard descriptions, we want to use descriptions from
+# xkeyboard-config (require it?), so removing it
+# or maybe have these from tarball it in optional subpackage?
+rm -rf $RPM_BUILD_ROOT/etc/console-setup
+
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+install -pm644 man/bdf2psf.1 $RPM_BUILD_ROOT%{_mandir}/man1/
+
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+install -p Fonts/bdf2psf $RPM_BUILD_ROOT%{_bindir}
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/bdf2psf
+cp -a Fonts/fontsets Fonts/*.equivalents Fonts/*.set \
+	$RPM_BUILD_ROOT%{_datadir}/bdf2psf/
+
+
+%files
+%license COPYRIGHT copyright.fonts copyright.xkb Fonts/copyright
+%doc README CHANGES
+%{_bindir}/ckbcomp
+%{_bindir}/setupcon
+%config(noreplace) %{_sysconfdir}/default/console-setup
+%config(noreplace) %{_sysconfdir}/default/keyboard
+%{_datadir}/consolefonts
+%{_datadir}/consoletrans
+%{_mandir}/*/*
+
+
+%files -n bdf2psf
+%{_bindir}/bdf2psf
+%{_mandir}/man1/bdf2psf.1*
+%{_datadir}/bdf2psf
+%license GPL-2
+
+
+%changelog
+* Tue Jul 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.196-1
+- new upstream release.
+
+* Fri Sep 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.193-1
+- new upstream release.
+
+* Thu Sep 14 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.166-1
+- initial build for Vine Linux.
+- new upstream release.
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.165-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Thu Jun 29 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.165-1
+- Update to latest upstream version
+  Resolves: #1465190
+
+* Thu Apr 20 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.164-1
+- Update to latest upstream version
+  Resolves: #1428812
+
+* Thu Mar 02 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.162-1
+- Update to latest upstream version
+  Resolves: #1421122
+
+* Wed Feb 08 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.158-1
+- Update to latest upstream version
+  Resolves: #1414397
+
+* Mon Jan 16 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.157-1
+- Update to latest upstream version
+  Resolves: #1410956
+
+* Mon Dec 19 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.155-1
+- Update to latest upstream version
+  Resolves: #1404057
+
+* Thu Nov 24 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.154-1
+- Update to latest upstream version
+  Resolves: #1394588
+
+* Mon Oct 24 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.152-1
+- Update to latest upstream version
+  Resolves: #1378257
+
+* Wed Sep 21 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.149-1
+- Update to latest upstream version
+  Resolves: #1377144
+
+* Thu Aug 04 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.148-1
+- Update to latest upstream version
+  Resolves: #1361821
+
+* Mon Jul 25 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.147-1
+- Update to latest upstream version
+  Resolves: #1357700
+
+* Mon Jun 06 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.146-1
+- Update to latest upstream version
+  Resolves: #1343049
+
+* Wed Jun 01 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.145-1
+- Update to latest upstream version
+  Resolves: #1341357
+
+* Tue May 24 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.143-1
+- Update to latest upstream version
+  Resolves: #1338765
+
+* Mon Apr 25 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.142-1
+- Update to latest upstream version
+  Resolves: #1323370
+
+* Tue Mar 29 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.140-1
+- Update to latest upstream version
+  Resolves: #1314573
+
+* Mon Feb 29 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.137-1
+- Update to latest upstream version
+  Resolves: #1310912
+
+* Thu Feb 04 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.131-2
+- Update to latest upstream version
+  Resolves: #1303783
+
+* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.135-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Mon Feb 01 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.135-1
+- Update to latest upstream version
+  Resolves: #1303365
+
+* Wed Nov 25 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.134-1
+- Update to latest upstream version
+  Resolves: #1275853
+
+* Mon Oct 19 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.133-1
+- Update to latest upstream version
+  Resolves: #1246800, #1266276
+
+* Thu Aug 27 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.132-1
+- Update to latest upstream version
+  Resolves: #1246800, #1256135
+
+* Wed Jul 15 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.130-1
+- Update to latest upstream version
+  Resolves: #1236429
+
+* Tue Jun 23 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.128-1
+- Update to latest upstream version
+  Resolves: #1222723
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.126-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Thu May 14 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.126-1
+- Update to latest upstream version
+  Resolves: #1221402
+
+* Mon May 04 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.124-1
+- Update to latest upstream version
+  Resolves: #1217018
+
+* Wed Apr 22 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.123-1
+- Update to latest upstream version
+  Resolves: #1212233
+
+* Tue Apr 14 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.121-1
+- Update to latest upstream version
+  Resolves: #1210953
+
+* Tue Mar 31 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.120-1
+- Update to latest upstream version
+  Resolves: #1206848
+
+* Thu Mar 05 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.118-1
+- Update to latest upstream version
+  Resolves: #1199059
+
+* Mon Feb 23 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.117-1
+- Update to latest upstream version
+  Resolves: #1195090
+
+* Mon Dec 08 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.116-1
+- Update to latest upstream version
+  Resolves: #1170951
+
+* Wed Nov 12 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.115-1
+- Update to latest upstream version
+  Resolves: #1163117
+
+* Thu Oct 30 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.114-1
+- Update to latest upstream version
+  Resolves: #1157435
+
+* Wed Oct 01 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.113-1
+- Update to latest upstream version
+  Resolves: #1138997
+
+* Mon Sep 01 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.111-1
+- Update to latest upstream version
+  Resolves: #1129030
+
+* Mon Aug 04 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.110-1
+- Update to latest upstream version
+  Resolves: #1124031
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.108-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Fri May 09 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.108-1
+- Update to latest upstream version
+  Resolves: #1096045
+
+* Thu Apr 10 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.107-1
+- Update to latest upstream version
+  Resolves: #1084949
+
+* Thu Mar 20 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.106-1
+- Update to latest upstream version
+  Resolves: #1078695
+
+* Thu Jan 02 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.104-1
+- Update to latest upstream version
+  Resolves: #1040384
+
+* Wed Nov 06 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.102-1
+- Update to latest upstream version
+  Resolves: #1026672
+- Fix bogus date in %%changelog
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.87-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.87-3
+- Perl 5.18 rebuild
+
+* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.87-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Thu Nov 29 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.87-1
+- Update to latest upstream version
+
+* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.80-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Wed Jul 04 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.80-1
+- Update to latest upstream version
+- Fix files listed twice build warning
+
+* Tue Jun 26 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.76-2
+- Fix License field
+- Do not own /etc/default directory
+- Fix FSF address in ckbcomp utility
+- Fix paths in manpages
+
+* Wed Jun 20 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.76-1
+- Initial support

+ 1085 - 129
g/grub2/grub2-vl.spec

@@ -1,161 +1,1117 @@
-%ifarch %{ix86}
-%define _host_cpu i386
+%bcond_with systemd
+%global with_secure_boot 0
+%undefine _hardened_build
+
+%undefine _missing_build_ids_terminate_build
+%global _configure_gnuconfig_hack 0
+
+%global tarversion 2.04
+%global gnulibversion fixes
+
+%global build_cflags %{optflags}
+%global build_ldflags %{nil}
+
+Name:           grub2
+Version:        2.04
+Release:        3%{?_dist_release}
+Summary:        Bootloader with support for Linux, Multiboot and more
+Group:          System Environment/Base
+License:        GPLv3+
+URL:            https://www.gnu.org/software/grub/
+Vendor:         Project Vine
+Distribution:   Vine Linux
+Packager:       tomop
+
+#Obsoletes:	grub < 1:0.98
+Source0:        https://ftp.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz
+Source1:        grub.macros
+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
+Source7:        bootstrap
+Source8:        bootstrap.conf
+Source9:        strtoull_test.c
+Source10:       20-grub.install
+Source12:       grub.patches
+# Vine
+Source1000:     grub.default-vine
+Source1001:     grub-%{version}-ja.po
+Source1002:     grub2-theme-vine.tar.gz
+
+%include %{SOURCE1}
+
+# generate with do-rebase
+%include %{SOURCE12}
+
+# Vine patch(es)
+Patch100001:	100001-change-title-for-Vine-Linux.patch
+
+BuildRequires:	gcc efi-srpm-macros
+BuildRequires:	flex bison binutils python3
+BuildRequires:	ncurses-devel xz-devel bzip2-devel
+BuildRequires:	freetype2-devel libusb1-devel fuse-devel
+BuildRequires:	rpm-devel
+BuildRequires:	rpm-devel rpm-libs
+BuildRequires:	autoconf automake autogen device-mapper-devel
+BuildRequires:	freetype-devel gettext-devel git
+BuildRequires:	texinfo
+BuildRequires:	TrueType-vlgothic
+BuildRequires:	help2man
+%if 0%{with_secure_boot}
+%ifarch %{efi_arch}
+BuildRequires:	pesign >= 0.99-8
+%endif
+%endif
+%if %{?_with_ccache: 1}%{?!_with_ccache: 0}
+BuildRequires:	ccache
+%endif
+
+ExcludeArch:	s390 s390x %{arm}
+Obsoletes:	%{name} <= %{evr}
+
+%if 0%{with_legacy_arch}
+Requires:	%{name}-%{legacy_package_arch} = %{evr}
 %else
-%define _host_cpu %{_arch}
+Requires:	%{name}-%{package_arch} = %{evr}
 %endif
 
-# 64bit intel machines use 32bit boot loader
-# (We cannot just redefine _target_cpu, as we'd get i386.rpm packages then)
-%ifarch x86_64
-%define _target_platform i386-%{_vendor}-%{_target_os}%{?_gnu}
-%define _libdir %{_prefix}/lib
-%define _lib lib
-%endif
-
-%define defshell defaultmenu.sh
-
-Summary: grub2 - a Multiboot boot loader. 
-Summary(ja): grub2 - マルチブートローダ
-Name: grub2
-Version: 1.99
-Release: 1%{?_dist_release}
-License: GPL
-Group: System Environment/Base
-URL: http://www.gnu.org/software/grub/
-
-Source0: ftp://alpha.gnu.org/gnu/grub/grub-%{version}.tar.xz
-Source1: 90_persistent
-Source2: grub.default
-
-ExclusiveArch: %{ix86} x86_64
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Requires(pre): install-info, sed, grep
-Requires: mktemp
-BuildRequires: autogen
-BuildRequires: ncurses-devel
-BuildRequires: bison
-BuildRequires: flex
-BuildRequires: ruby
-BuildRequires: freetype2-devel
+%global desc \
+The GRand Unified Bootloader (GRUB) is a highly configurable and \
+customizable bootloader with modular architecture.  It supports a rich \
+variety of kernel formats, file systems, computer architectures and \
+hardware devices.\
+%{nil}
+
+%description
+%{desc}
+
+%package common
+Summary:	grub2 common layout
+Group:		System Environment/Base
+BuildArch:	noarch
+
+%description common
+This package provides some directories which are required by various grub2
+subpackages.
+
+%package tools
+Summary:	Support tools for GRUB.
+Group:		System Environment/Base
+Obsoletes:	%{name}-tools < %{evr}
+Requires:	%{name}-common = %{evr}
+Requires:	gettext os-prober which file
+Requires(pre):	dracut
+Requires(post):	dracut
+
+%description tools
+%{desc}
+This subpackage provides tools for support of all platforms.
+
 %ifarch x86_64
-BuildRequires: compat32-glibc-devel
+%package tools-efi
+Summary:	Support tools for GRUB.
+Group:		System Environment/Base
+Requires:	gettext os-prober which file
+Requires:	%{name}-common = %{evr}
+Obsoletes:	%{name}-tools < %{evr}
+
+%description tools-efi
+%{desc}
+This subpackage provides tools for support of EFI platforms.
 %endif
 
-Vendor: Project Vine
-Distribution: Vine Linux
+%package tools-minimal
+Summary:	Support tools for GRUB.
+Group:		System Environment/Base
+Requires:	gettext
+Requires:	%{name}-common = %{evr}
+Obsoletes:	%{name}-tools < %{evr}
+
+%description tools-minimal
+%{desc}
+This subpackage provides tools for support of all platforms.
+
+%package tools-extra
+Summary:	Support tools for GRUB.
+Group:		System Environment/Base
+Requires:	gettext os-prober which file console-setup
+Requires:	%{name}-tools-minimal = %{evr}
+Requires:	%{name}-common = %{evr}
+Obsoletes:	%{name}-tools < %{evr}
+
+%description tools-extra
+%{desc}
+This subpackage provides tools for support of all platforms.
+
+%if 0%{with_efi_arch}
+%{expand:%define_efi_variant %%{package_arch} -o}
+%endif
+%if 0%{with_alt_efi_arch}
+%{expand:%define_efi_variant %%{alt_package_arch}}
+%endif
+%if 0%{with_legacy_arch}
+%{expand:%define_legacy_variant %%{legacy_package_arch}}
+%endif
+
+%if 0%{with_emu_arch}
+%package emu
+Summary:	GRUB user-space emulation.
+Requires:	%{name}-tools-minimal = %{evr}
+
+%description emu
+%{desc}
+This subpackage provides the GRUB user-space emulation support of all platforms.
+
+%package emu-modules
+Summary:	GRUB user-space emulation modules.
+Requires:	%{name}-tools-minimal = %{evr}
+
+%description emu-modules
+%{desc}
+This subpackage provides the GRUB user-space emulation modules.
+%endif
+
+%package theme-starfield
+Summary:	Starfield theme for GRUB2
+Group:		System Environment/Base
+Requires:	%{name}-common = %{version}-%{release}
+
+%description theme-starfield
+%{desc}
+This subpackage provides Starfield theme.
+
+%package theme-vine
+Summary:	Vine Linux theme for GRUB2
+Group:		System Environment/Base
+Requires:	%{name}-common = %{version}-%{release}
+
+%description theme-vine
+%{desc}
+This package provides Vine Linux theme.
 
-%description
-GNU GRUB is a Multiboot boot loader. 
-It was derived from GRUB, GRand Unified Bootloader, which was 
-originally designed and implemented by Erich Stefan Boleyn. 
-
-Briefly, bootloader is the first software program that runs when
-a computer starts. It is responsible for loading and transferring
-control to the operating system kernel software (such as the Hurd
-or the Linux). The kernel, in turn, initializes the rest of the 
-operating system (usually GNU). 
-
-%description -l ja
-GNU GRUB はマルチブートローダです。
-この名前は GRand Unified Bootloader (壮大な 統一されたブート
-ローダ) に由来し、元来は Erich Stefan Boleyn によって、設計・
-実装されたものです。
-
-手短に言えば、ブートローダとはコンピュータが起動する際に最初
-に実行されるプログラムで、(Hurd や Linux のような) オペレー
-ティングシステムのカーネルをディスクから読み込んで制御を渡す
-作業を担当します。カーネルは、それを受けて、オペレーティング
-システムの他の部分 (通常は GNU) を初期化します。
 
 %prep
-%setup -q -n grub-%{version}
+%do_common_setup
 
-%build
-sh autogen.sh
+cp -f %{SOURCE1001} po/ja.po
+pushd po
+msgfmt -v ja.po -o ja.gmo
+popd
 
-GCCVERS=$(gcc --version | head -1 | cut -d\  -f3 | cut -d. -f1)
-CFLAGS="-Os"
-if [ "$GCCVERS" == "4" ]; then
-  CFLAGS="$CFLAGS -Wno-pointer-sign"
-fi
-%ifarch x86_64
-CFLAGS="$CFLAGS -static" 
-%endif
-export CFLAGS
-%configure \
-	CFLAGS="$(echo $RPM_OPT_FLAGS | sed		\
-		-e 's/-fstack-protector//g'		\
-		-e 's/--param=ssp-buffer-size=4//g'	\
-		-e 's/-mregparm=3/-mregparm=4//g'	\
-		-e 's/-fasynchronous-unwind-tables//g' )"\
-	TARGET_LDFLAGS=-static				\
-%ifarch x86_64
-	--host=i686-pc-linux-gnu \
+%if 0%{with_efi_arch}
+mkdir grub-%{grubefiarch}-%{tarversion}
+grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grubefiarch}-%{tarversion}/.gitignore
+cp %{SOURCE4} grub-%{grubefiarch}-%{tarversion}/unifont.pcf.gz
+git add grub-%{grubefiarch}-%{tarversion}
+%endif
+%if 0%{with_alt_efi_arch}
+mkdir grub-%{grubaltefiarch}-%{tarversion}
+grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grubaltefiarch}-%{tarversion}/.gitignore
+cp %{SOURCE4} grub-%{grubaltefiarch}-%{tarversion}/unifont.pcf.gz
+git add grub-%{grubaltefiarch}-%{tarversion}
+%endif
+%if 0%{with_legacy_arch}
+mkdir grub-%{grublegacyarch}-%{tarversion}
+grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grublegacyarch}-%{tarversion}/.gitignore
+cp %{SOURCE4} grub-%{grublegacyarch}-%{tarversion}/unifont.pcf.gz
+git add grub-%{grublegacyarch}-%{tarversion}
+%endif
+%if 0%{with_emu_arch}
+mkdir grub-emu-%{tarversion}
+grep -A100000 '# stuff "make" creates' .gitignore > grub-emu-%{tarversion}/.gitignore
+cp %{SOURCE4} grub-emu-%{tarversion}/unifont.pcf.gz
+git add grub-emu-%{tarversion}
 %endif
-	--with-platform=pc \
-	--program-transform-name=s,grub,%{name}, \
-	--disable-efiemu \
-	--disable-grub-emu-usb \
-	--disable-grub-emu-sdl \
-	--disable-grub-emu-pci \
-	--enable-grub-fstest \
-	--enable-grub-mkfont
+git commit -m "After making subdirs"
 
-make %{?_smp_mflags}
+%build
+sed -i \
+	-e 's,-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ,,g' \
+	-e 's,-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ,,g' \
+	gnulib/gnulib-tool \
+	grub-core/lib/gnulib/Makefile.in \
+	grub-core/lib/gnulib/Makefile.am
+
+%if 0%{with_efi_arch}
+%{expand:%do_primary_efi_build %%{grubefiarch} %%{grubefiname} %%{grubeficdname} %%{_target_platform} %%{efi_target_cflags} %%{efi_host_cflags}}
+%endif
+%if 0%{with_alt_efi_arch}
+%{expand:%do_alt_efi_build %%{grubaltefiarch} %%{grubaltefiname} %%{grubalteficdname} %%{_alt_target_platform} %%{alt_efi_target_cflags} %%{alt_efi_host_cflags}}
+%endif
+%if 0%{with_legacy_arch}
+%{expand:%do_legacy_build %%{grublegacyarch}}
+%endif
+%if 0%{with_emu_arch}
+%{expand:%do_emu_build}
+%endif
+makeinfo --no-split -I docs -o docs/grub-dev.info \
+	docs/grub-dev.texi
+makeinfo --no-split -I docs -o docs/grub.info \
+	docs/grub.texi
+makeinfo --html --no-split -I docs -o docs/grub-dev.html \
+	docs/grub-dev.texi
+makeinfo --html --no-split -I docs -o docs/grub.html \
+	docs/grub.texi
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+set -e
+rm -fr $RPM_BUILD_ROOT
 
-# Script that makes part of grub.cfg persist across updates
-install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/grub.d/
+%do_common_install
+%if 0%{with_efi_arch}
+%{expand:%do_efi_install %%{grubefiarch} %%{grubefiname} %%{grubeficdname}}
+%endif
+%if 0%{with_alt_efi_arch}
+%{expand:%do_alt_efi_install %%{grubaltefiarch} %%{grubaltefiname} %%{grubalteficdname}}
+%endif
+%if 0%{with_legacy_arch}
+%{expand:%do_legacy_install %%{grublegacyarch} %%{alt_grub_target_name} 0%{with_efi_arch}}
+%endif
+%if 0%{with_emu_arch}
+%{expand:%do_emu_install %%{package_arch}}
+%endif
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+ln -s %{name}-set-password ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-setpassword
+echo '.so man8/%{name}-set-password.8' > ${RPM_BUILD_ROOT}/%{_datadir}/man/man8/%{name}-setpassword.8
+%ifnarch x86_64
+rm -vf ${RPM_BUILD_ROOT}/%{_bindir}/%{name}-render-label
+rm -vf ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-bios-setup
+rm -vf ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-macbless
+%endif
+
+%find_lang grub
+
+# Make selinux happy with exec stack binaries.
+mkdir ${RPM_BUILD_ROOT}%{_sysconfdir}/prelink.conf.d/
+cat << EOF > ${RPM_BUILD_ROOT}%{_sysconfdir}/prelink.conf.d/grub2.conf
+# these have execstack, and break under selinux
+-b /usr/bin/grub2-script-check
+-b /usr/bin/grub2-mkrelpath
+-b /usr/bin/grub2-mount
+-b /usr/bin/grub2-fstest
+-b /usr/sbin/grub2-bios-setup
+-b /usr/sbin/grub2-probe
+-b /usr/sbin/grub2-sparc64-setup
+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/ %{SOURCE3}
+install -d -m 0755 %{buildroot}%{_sysconfdir}/kernel/install.d/
+# Install systemd user service to set the boot_success flag
+%if %{with systemd}
+install -D -m 0755 -t %{buildroot}%{_userunitdir} \
+	docs/grub-boot-success.{timer,service}
+install -d -m 0755 %{buildroot}%{_userunitdir}/timers.target.wants
+ln -s ../grub-boot-success.timer \
+	%{buildroot}%{_userunitdir}/timers.target.wants
+# Install systemd system-update unit to set boot_indeterminate for offline-upd
+install -D -m 0755 -t %{buildroot}%{_unitdir} docs/grub-boot-indeterminate.service
+install -d -m 0755 %{buildroot}%{_unitdir}/system-update.target.wants
+ln -s ../grub-boot-indeterminate.service \
+	%{buildroot}%{_unitdir}/system-update.target.wants
+%endif
+
+# Don't run debuginfo on all the grub modules and whatnot; it just
+# rejects them, complains, and slows down extraction.
+%global finddebugroot "%{_builddir}/%{?buildsubdir}/debug"
 
-# Ghost config file
-install -d $RPM_BUILD_ROOT/boot/%{name}
-touch $RPM_BUILD_ROOT/boot/%{name}/grub.cfg
+%global dip RPM_BUILD_ROOT=%{finddebugroot} %{__debug_install_post}
+%define __debug_install_post (						\
+	mkdir -p %{finddebugroot}/usr					\
+	mv ${RPM_BUILD_ROOT}/usr/bin %{finddebugroot}/usr/bin		\
+	mv ${RPM_BUILD_ROOT}/usr/sbin %{finddebugroot}/usr/sbin		\
+	%{dip}								\
+	install -m 0755 -d %{buildroot}/usr/lib/ %{buildroot}/usr/src/	\
+	cp -al %{finddebugroot}/usr/lib/debug/				\\\
+		%{buildroot}/usr/lib/debug/				\
+	cp -al %{finddebugroot}/usr/src/debug/				\\\
+		%{buildroot}/usr/src/debug/ )				\
+	mv %{finddebugroot}/usr/bin %{buildroot}/usr/bin		\
+	mv %{finddebugroot}/usr/sbin %{buildroot}/usr/sbin		\
+	%{nil}
 
-rm -rf $RPM_BUILD_ROOT%{_infodir}
+%undefine buildsubdir
 
-rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
+# drop original configurations
+rm -rf %{buildroot}/boot/grub2/grub.cfg
 
-# Defaults
-install -m 644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/default/grub
+# install configuration for Vine Linux
+mkdir -p %{buildroot}%{_sysconfdir}/default
+cp %{SOURCE1000} %{buildroot}%{_sysconfdir}/default/grub
+
+# install japanese resources
+mkdir -p %{buildroot}/boot/grub2/{fonts,locale}
+cp -f po/ja.gmo %{buildroot}/boot/grub2/locale/
+sed -i -e 's|locale_dir=.*$|locale_dir=/boot/grub2/locale|' \
+	%{buildroot}%{_sysconfdir}/grub.d/00_header
+%{buildroot}%{_bindir}/grub2-mkfont -s 16 -o %{buildroot}/boot/grub2/fonts/vlgothic.pf2 %{_datadir}/fonts/TrueType-vlgothic/VL-Gothic-Regular.ttf
+
+# install themes
+mkdir -p %{buildroot}%{_datarootdir}/grub/themes
+cp -af themes/starfield %{buildroot}%{_datarootdir}/grub/themes/
+pushd %{buildroot}%{_datarootdir}/grub/themes
+tar xvf %{SOURCE1002}
+popd
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-# Determine the partition with /boot
-BOOT_PARTITION=$(df -h /boot |(read; awk '{print $1; exit}'))
-# Generate core.img, but don't let it be installed in boot sector
-#%{name}-install --grub-setup=/bin/true $BOOT_PARTITION
+%pre tools
+if [ -f /boot/grub2/user.cfg ]; then
+    if grep -q '^GRUB_PASSWORD=' /boot/grub2/user.cfg ; then
+	sed -i 's/^GRUB_PASSWORD=/GRUB2_PASSWORD=/' /boot/grub2/user.cfg
+    fi
+elif [ -f %{efi_esp_dir}/user.cfg ]; then
+    if grep -q '^GRUB_PASSWORD=' %{efi_esp_dir}/user.cfg ; then
+	sed -i 's/^GRUB_PASSWORD=/GRUB2_PASSWORD=/' \
+	    %{efi_esp_dir}/user.cfg
+    fi
+elif [ -f /etc/grub.d/01_users ] && \
+	grep -q '^password_pbkdf2 root' /etc/grub.d/01_users ; then
+    if [ -f %{efi_esp_dir}/grub.cfg ]; then
+	# on EFI we don't get permissions on the file, but
+	# the directory is protected.
+	grep '^password_pbkdf2 root' /etc/grub.d/01_users | \
+		sed 's/^password_pbkdf2 root \(.*\)$/GRUB2_PASSWORD=\1/' \
+	    > %{efi_esp_dir}/user.cfg
+    fi
+    if [ -f /boot/grub2/grub.cfg ]; then
+	install -m 0600 /dev/null /boot/grub2/user.cfg
+	chmod 0600 /boot/grub2/user.cfg
+	grep '^password_pbkdf2 root' /etc/grub.d/01_users | \
+		sed 's/^password_pbkdf2 root \(.*\)$/GRUB2_PASSWORD=\1/' \
+	    > /boot/grub2/user.cfg
+    fi
+fi
+
+%post tools
+if [ "$1" = 1 ]; then
+	/sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz || :
+	/sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info.gz || :
+fi
+
+%preun tools
+if [ "$1" = 0 ]; then
+	/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz || :
+	/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info.gz || :
+fi
+
+%files common -f grub.lang
+%dir %{_libdir}/grub/
+%dir %{_datarootdir}/grub/
+%dir %{_datarootdir}/grub/themes/
+%exclude %{_datarootdir}/grub/themes/*
+%attr(0700,root,root) %dir %{_sysconfdir}/grub.d
+%{_prefix}/lib/kernel/install.d/20-grub.install
+%{_prefix}/lib/kernel/install.d/99-grub-mkconfig.install
+%exclude %{_datarootdir}/grub/*
+%attr(0700,root,root) %dir /boot/%{name}
+%dir /boot/%{name}/locale
+/boot/%{name}/locale/*
+%dir /boot/%{name}/fonts
+/boot/%{name}/fonts/*
+%dir /boot/%{name}/themes/
+%dir /boot/%{name}/themes/system
+%dir %attr(0700,root,root) %{efi_esp_dir}
+%exclude %{efi_esp_dir}/*
+%license COPYING
+%ghost %config(noreplace) /boot/grub2/grubenv
+%doc INSTALL
+%doc NEWS
+%doc README
+%doc THANKS
+%doc TODO
+%doc docs/grub.html
+%doc docs/grub-dev.html
+%doc docs/font_char_metrics.png
+
+%files tools-minimal
+%{_sysconfdir}/prelink.conf.d/grub2.conf
+%{_sbindir}/%{name}-get-kernel-settings
+%{_sbindir}/%{name}-probe
+%attr(4755, root, root) %{_sbindir}/%{name}-set-bootflag
+%{_sbindir}/%{name}-set-default
+%{_sbindir}/%{name}-set*password
+%{_bindir}/%{name}-editenv
+%{_bindir}/%{name}-mkpasswd-pbkdf2
+%{_bindir}/%{name}-mount
+
+%{_datadir}/man/man3/%{name}-get-kernel-settings*
+%{_datadir}/man/man8/%{name}-set-default*
+%{_datadir}/man/man8/%{name}-set*password*
+%{_datadir}/man/man1/%{name}-editenv*
+%{_datadir}/man/man1/%{name}-mkpasswd-*
+
+%ifarch x86_64
+%files tools-efi
+%{_sbindir}/%{name}-macbless
+%{_bindir}/%{name}-render-label
+%{_datadir}/man/man8/%{name}-macbless*
+%{_datadir}/man/man1/%{name}-render-label*
+%endif
+
+%files tools
+%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/default/grub
+%config %{_sysconfdir}/grub.d/??_*
+%ifarch ppc64 ppc64le
+%exclude %{_sysconfdir}/grub.d/10_linux
+%else
+%exclude %{_sysconfdir}/grub.d/10_linux_bls
+%endif
+%{_sysconfdir}/grub.d/README
+%if %{with systemd}
+%{_userunitdir}/grub-boot-success.timer
+%{_userunitdir}/grub-boot-success.service
+%{_userunitdir}/timers.target.wants
+%{_unitdir}/grub-boot-indeterminate.service
+%{_unitdir}/system-update.target.wants
+%endif
+%{_infodir}/%{name}*
+%{_datarootdir}/grub/*
+%{_sbindir}/%{name}-install
+%exclude %{_datarootdir}/grub/themes
+%exclude %{_datarootdir}/grub/*.h
+%{_datarootdir}/bash-completion/completions/grub
+%{_sbindir}/%{name}-mkconfig
+%{_sbindir}/%{name}-switch-to-blscfg
+%{_sbindir}/%{name}-rpm-sort
+%{_sbindir}/%{name}-reboot
+%{_bindir}/%{name}-file
+%{_bindir}/%{name}-menulst2cfg
+%{_bindir}/%{name}-mkimage
+%{_bindir}/%{name}-mkrelpath
+%{_bindir}/%{name}-script-check
+%{_datadir}/man/man?/*
+
+# exclude man pages from tools-extra
+%exclude %{_datadir}/man/man8/%{name}-sparc64-setup*
+%exclude %{_datadir}/man/man8/%{name}-install*
+%exclude %{_datadir}/man/man1/%{name}-fstest*
+%exclude %{_datadir}/man/man1/%{name}-glue-efi*
+%exclude %{_datadir}/man/man1/%{name}-kbdcomp*
+%exclude %{_datadir}/man/man1/%{name}-mkfont*
+%exclude %{_datadir}/man/man1/%{name}-mklayout*
+%exclude %{_datadir}/man/man1/%{name}-mknetdir*
+%exclude %{_datadir}/man/man1/%{name}-mkrescue*
+%exclude %{_datadir}/man/man1/%{name}-mkstandalone*
+%exclude %{_datadir}/man/man1/%{name}-syslinux2cfg*
+
+# exclude man pages from tools-minimal
+%exclude %{_datadir}/man/man3/%{name}-get-kernel-settings*
+%exclude %{_datadir}/man/man8/%{name}-set-default*
+%exclude %{_datadir}/man/man8/%{name}-set*password*
+%exclude %{_datadir}/man/man1/%{name}-editenv*
+%exclude %{_datadir}/man/man1/%{name}-mkpasswd-*
+%exclude %{_datadir}/man/man8/%{name}-macbless*
+%exclude %{_datadir}/man/man1/%{name}-render-label*
+
+%if %{with_legacy_arch}
+%ifarch x86_64
+%{_sbindir}/%{name}-bios-setup
+%else
+%exclude %{_sbindir}/%{name}-bios-setup
+%exclude %{_datadir}/man/man8/%{name}-bios-setup*
+%endif
+%ifarch %{sparc}
+%{_sbindir}/%{name}-sparc64-setup
+%else
+%exclude %{_sbindir}/%{name}-sparc64-setup
+%exclude %{_datadir}/man/man8/%{name}-sparc64-setup*
+%endif
+%ifarch %{sparc} ppc ppc64 ppc64le
+%{_sbindir}/%{name}-ofpathname
+%else
+%exclude %{_sbindir}/%{name}-ofpathname
+%exclude %{_datadir}/man/man8/%{name}-ofpathname*
+%endif
+%endif
+
+%files tools-extra
+%{_sbindir}/%{name}-sparc64-setup
+%{_sbindir}/%{name}-ofpathname
+%{_bindir}/%{name}-fstest
+%{_bindir}/%{name}-glue-efi
+%{_bindir}/%{name}-kbdcomp
+%{_bindir}/%{name}-mkfont
+%{_bindir}/%{name}-mklayout
+%{_bindir}/%{name}-mknetdir
+%ifnarch %{sparc}
+%{_bindir}/%{name}-mkrescue
+%endif
+%{_bindir}/%{name}-mkstandalone
+%{_bindir}/%{name}-syslinux2cfg
+%{_sysconfdir}/sysconfig/grub
+%{_datadir}/man/man8/%{name}-sparc64-setup*
+%{_datadir}/man/man8/%{name}-install*
+%{_datadir}/man/man1/%{name}-fstest*
+%{_datadir}/man/man1/%{name}-glue-efi*
+%{_datadir}/man/man1/%{name}-kbdcomp*
+%{_datadir}/man/man1/%{name}-mkfont*
+%{_datadir}/man/man1/%{name}-mklayout*
+%{_datadir}/man/man1/%{name}-mknetdir*
+%{_datadir}/man/man1/%{name}-mkrescue*
+%{_datadir}/man/man1/%{name}-mkstandalone*
+%{_datadir}/man/man8/%{name}-ofpathname*
+%{_datadir}/man/man1/%{name}-syslinux2cfg*
+%exclude %{_datarootdir}/grub/themes/starfield
+
+%if 0%{with_efi_arch}
+%{expand:%define_efi_variant_files %%{package_arch} %%{grubefiname} %%{grubeficdname} %%{grubefiarch} %%{target_cpu_name} %%{grub_target_name}}
+%endif
+%if 0%{with_alt_efi_arch}
+%{expand:%define_efi_variant_files %%{alt_package_arch} %%{grubaltefiname} %%{grubalteficdname} %%{grubaltefiarch} %%{alt_target_cpu_name} %%{alt_grub_target_name}}
+%endif
+%if 0%{with_legacy_arch}
+%{expand:%define_legacy_variant_files %%{legacy_package_arch} %%{grublegacyarch}}
+%endif
+
+%if 0%{with_emu_arch}
+%files emu
+%{_bindir}/%{name}-emu*
+%{_datadir}/man/man1/%{name}-emu*
 
-%preun
-# XXX Ugly
-rm -f /boot/%{name}/*.mod
-rm -f /boot/%{name}/*.img
-rm -f /boot/%{name}/*.lst
-rm -f /boot/%{name}/device.map
+%files emu-modules
+%{_libdir}/grub/%{emuarch}-emu/*
+%exclude %{_libdir}/grub/%{emuarch}-emu/*.module
+%endif
 
+%files theme-starfield
+%defattr(-,root,root)
+%{_datarootdir}/grub/themes/starfield
 
-%files
+%files theme-vine
 %defattr(-,root,root)
-%doc COPYING INSTALL README AUTHORS ChangeLog NEWS THANKS TODO
-%{_bindir}/*
-%{_sbindir}/*
-%{_prefix}/lib/grub
-%{_prefix}/lib/%{name}
-%{_sysconfdir}/bash_completion.d/grub
-%{_sysconfdir}/default/grub
-%{_sysconfdir}/grub.d
-%dir /boot/%{name}
-# Actually, this is replaced by update-grub from scriptlets,
-# but it takes care of modified persistent part
-%config(noreplace) /boot/%{name}/grub.cfg
-%exclude %{_mandir}
+%{_datarootdir}/grub/themes/vine
 
 %changelog
-* Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.99-1
-- initial build for Vine Linux
+* Tue Jul 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.04-3
+- imported Patch206-222 from rawhide.
+- updated ja.po.
+
+* Fri Apr 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.04-2
+- replaced all patches to rawhide's.
+- fixed a path to locale files for UEFI.
+
+* Sat Sep 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.04-1
+- new upstream release.
+- replaced all patches to rawhide's.
+- updated ja.po.
+
+* Sat Sep 16 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.02-16
+- updated ja.po.
+
+* Fri Sep 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.02-15
+- initial build for Vine Linux.
+- added configuration for Vine Linux.
+- added Patch100001: modified title-format.
+
+* Fri Aug 25 2017 Peter Jones <pjones@redhat.com> - 2.02-14
+- Revert the /usr/lib/.build-id/ change:
+  https://fedoraproject.org/wiki/Changes/ParallelInstallableDebuginfo
+  says (without any particularly convincing reasoning):
+    The main build-id file should not be in the debuginfo file, but in the
+    main package (this was always a problem since the package and debuginfo
+    package installed might not match). If we want to make usr/lib/debug/ a
+    network resource then we will need to move the symlink to another
+    location (maybe /usr/lib/.build-id).
+  So do it that way.  Of course it doesn't matter, because exclude gets
+  ignored due to implementation details.
+
+* Fri Aug 25 2017 Peter Jones <pjones@redhat.com> - 2.02-13
+- Add some unconditional Provides:
+  grub2-efi on grub2-efi-${arch}
+  grub2-efi-cdboot on grub2-efi-${arch}-cdboot
+  grub2 on all grub2-${arch} pacakges
+- Something is somehow adding /usr/lib/.build-id/... to all the -tools
+  subpackages, so exclude all that.
+
+* Thu Aug 24 2017 Peter Jones <pjones@redhat.com> - 2.02-12
+- Fix arm kernel command line allocation
+  Resolves: rhbz#1484609
+- Get rid of the temporary extra efi packages hack.
+
+* Wed Aug 23 2017 Peter Jones <pjones@redhat.com> - 2.02-11
+- Put grub2-mkimage in -tools, not -tools-extra.
+- Fix i686 building
+- Fix ppc HFS+ usage due to /boot/efi's presence.
+
+* Fri Aug 18 2017 Peter Jones <pjones@redhat.com> - 2.02-10
+- Add the .img files into grub2-pc-modules (and all legacy variants)
+
+* Wed Aug 16 2017 Peter Jones <pjones@redhat.com> - 2.02-9
+- Re-work for ia32-efi.
+
+* Wed Aug 16 2017 pjones <pjones@redhat.com> - 2.02-8
+- Rebased to newer upstream for fedora-27
+
+* Tue Aug 15 2017 Peter Jones <pjones@redhat.com> - 2.02-7
+- Rebuild again with new fixed rpm. (bug #1480407)
+
+* Fri Aug 11 2017 Kevin Fenzi <kevin@scrye.com> - 2.02-6
+- Rebuild again with new fixed rpm. (bug #1480407)
+
+* Thu Aug 10 2017 Kevin Fenzi <kevin@scrye.com> - 2.02-5
+- Rebuild for rpm soname bump again.
+
+* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.02-4
+- Rebuilt for RPM soname bump
+
+* Thu Aug 03 2017 Peter Jones <pjones@redhat.com> - 2.02-3
+- Rebuild so it gets SB signed correctly.
+  Related: rhbz#1335533
+- Enable lsefi
+
+* Mon Jul 24 2017 Michael Cronenworth <mike@cchtml.com> - 2.02-2
+- Fix symlink to work on both EFI and BIOS machines
+  Resolves: rhbz#1335533
+
+* Mon Jul 10 2017 Peter Jones <pjones@redhat.com> - 2.02-1
+- Rebased to newer upstream for fedora-27
+
+* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.02-0.39
+- Add missing %%license macro
+- Fix deps that should have moved to -tools but didn't.
+
+* Thu Dec 08 2016 Peter Jones <pjones@redhat.com> - 2.02-0.38
+- Fix regexp in power compile flags, and synchronize release number with
+  other branches.
+
+* Fri Dec 02 2016 pjones <pjones@redhat.com> - 1:2.02-0.37
+- Rebased to newer upstream for fedora-26
+
+* Thu Dec 01 2016 Peter Jones <pjones@redhat.com> - 2.02-0.36
+- Update version to .36 because I already built an f25 one named 0.35
+
+* Thu Dec 01 2016 pjones <pjones@redhat.com> - 1:2.02-0.35
+- Rebased to newer upstream for fedora-26
+
+* Thu Dec 01 2016 Peter Jones <pjones@redhat.com> - 2.02-0.34
+- Fix power6 makefile bits for newer autoconf defaults.
+- efi/chainloader: fix wrong sanity check in relocate_coff() (Laszlo Ersek)
+  Resolves: rhbz#1347291
+
+* Thu Aug 25 2016 Peter Jones <pjones@redhat.com> - 2.02-0.34
+- Update to be newer than f24's branch.
+- Add grub2-get-kernel-settings
+  Related: rhbz#1226325
+
+* Thu Apr 07 2016 pjones <pjones@redhat.com> - 1:2.02-0.30
+- Revert 27e66193, which was replaced by upstream's 49426e9fd
+  Resolves: rhbz#1251600
+
+* Thu Apr 07 2016 Peter Jones <pjones@redhat.com> - 2.02-0.29
+- Fix ppc64 build failure and rebase to newer f24 code.
+
+* Tue Apr 05 2016 pjones <pjones@redhat.com> - 1:2.02-0.27
+- Pull TPM updates from mjg59.
+  Resolves: rhbz#1318067
+
+* Tue Mar 08 2016 pjones <pjones@redhat.com> - 1:2.02-0.27
+- Fix aarch64 build problem.
+
+* Fri Mar 04 2016 Peter Jones <pjones@redhat.com> - 2.02-0.26
+- Rebased to newer upstream (grub-2.02-beta3) for fedora-24
+
+* Thu Dec 10 2015 Peter Jones <pjones@redhat.com> - 2.02-0.25
+- Fix security issue when reading username and password
+  Related: CVE-2015-8370
+- Do a better job of handling GRUB2_PASSWORD
+  Related: rhbz#1284370
+
+* Fri Nov 20 2015 Peter Jones <pjones@redhat.com> - 2.02-0.24
+- Rebuild without multiboot* modules in the EFI image.
+  Related: rhbz#1264103
+
+* Sat Sep 05 2015 Kalev Lember <klember@redhat.com> - 2.02-0.23
+- Rebuilt for librpm soname bump
+
+* Wed Aug 05 2015 Peter Jones <pjones@redhat.com> - 2.02-0.21
+- Back out one of the debuginfo generation patches; it doesn't work right on
+  aarch64 yet.
+  Resolves: rhbz#1250197
+
+* Mon Aug 03 2015 Peter Jones <pjones@redhat.com> - 2.02-0.20
+- The previous fix was completely not right, so fix it a different way.
+  Resolves: rhbz#1249668
+
+* Fri Jul 31 2015 Peter Jones <pjones@redhat.com> - 2.02-0.19
+- Fix grub2-mkconfig's sort to put kernels in the right order.
+  Related: rhbz#1124074
+
+* Thu Jul 30 2015 Peter Jones <pjones@redhat.com> - 2.02-0.18
+- Fix a build failure on aarch64
+
+* Wed Jul 22 2015 Peter Jones <pjones@redhat.com> - 2.02-0.17
+- Don't build hardened (fixes FTBFS) (pbrobinson)
+- Reconcile with the current upstream
+- Fixes for gcc 5
+
+* Tue Apr 28 2015 Peter Jones <pjones@redhat.com> - 2.02-0.16
+- Make grub2-mkconfig produce the kernel titles we actually want.
+  Resolves: rhbz#1215839
+
+* Sat Feb 21 2015 Till Maas <opensource@till.name>
+- Rebuilt for Fedora 23 Change
+  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
+
+* Mon Jan 05 2015 Peter Jones <pjones@redhat.com> - 2.02-0.15
+- Bump release to rebuild with Ralf Corsépius's fixes.
+
+* Sun Jan 04 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.02-0.14
+- Move grub2.info/grub2-dev.info install-info scriptlets into *-tools package.
+- Use sub-shell in %%__debug_install_post (RHBZ#1168732).
+- Cleanup grub2-starfield-theme packaging.
+
+* Thu Dec 04 2014 Peter Jones <pjones@redhat.com> - 2.02-0.13
+- Update minilzo to 2.08 for CVE-2014-4607
+  Resolves: rhbz#1131793
+
+* Thu Nov 13 2014 Peter Jones <pjones@redhat.com> - 2.02-0.12
+- Make backtrace and usb conditional on !arm
+- Make sure gcdaa64.efi is packaged.
+  Resolves: rhbz#1163481
+
+* Fri Nov 07 2014 Peter Jones <pjones@redhat.com> - 2.02-0.11
+- fix a copy-paste error in patch 0154.
+  Resolves: rhbz#964828
+
+* Mon Oct 27 2014 Peter Jones <pjones@redhat.com> - 2.02-0.10
+- Try to emit linux16/initrd16 and linuxefi/initrdefi when appropriate
+  in 30_os-prober.
+  Resolves: rhbz#1108296
+- If $fw_path doesn't work to find the config file, try $prefix as well
+  Resolves: rhbz#1148652
+
+* Mon Sep 29 2014 Peter Jones <pjones@redhat.com> - 2.02-0.9
+- Clean up the build a bit to make it faster
+- Make grubenv work right on UEFI machines
+  Related: rhbz#1119943
+- Sort debug and rescue kernels later than normal ones
+  Related: rhbz#1065360
+- Allow "fallback" to include entries by title as well as number.
+  Related: rhbz#1026084
+- Fix a segfault on aarch64.
+- Load arm with SB enabled if available.
+- Add some serial port options to GRUB_MODULES.
+
+* Tue Aug 19 2014 Peter Jones <pjones@redhat.com> - 2.02-0.8
+- Add ppc64le support.
+  Resolves: rhbz#1125540
+
+* Thu Jul 24 2014 Peter Jones <pjones@redhat.com> - 2.02-0.7
+- Enabled syslinuxcfg module.
+
+* Wed Jul 02 2014 Peter Jones <pjones@redhat.com> - 2.02-0.6
+- Re-merge RHEL 7 changes and ARM works in progress.
+
+* Mon Jun 30 2014 Peter Jones <pjones@redhat.com> - 2.02-0.5
+- Avoid munging raw spaces when we're escaping command line arguments.
+  Resolves: rhbz#923374
+
+* Tue Jun 24 2014 Peter Jones <pjones@redhat.com> - 2.02-0.4
+- Update to latest upstream.
+
+* Thu Mar 13 2014 Peter Jones <pjones@redhat.com> - 2.02-0.3
+- Merge in RHEL 7 changes and ARM works in progress.
+
+* Mon Jan 06 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2
+- Update to grub-2.02~beta2
+
+* Sat Aug 10 2013 Peter Jones <pjones@redhat.com> - 2.00-25
+- Last build failed because of a hardware error on the builder.
+
+* Mon Aug 05 2013 Peter Jones <pjones@redhat.com> - 2.00-24
+- Fix compiler flags to deal with -fstack-protector-strong
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.00-24
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Tue Jul 02 2013 Dennis Gilmore <dennis@ausil.us> - 2.00-23
+- add epoch to obsoletes
+
+* Fri Jun 21 2013 Peter Jones <pjones@redhat.com> - 2.00-22
+- Fix linewrapping in edit menu.
+  Resolves: rhbz #976643
+
+* Thu Jun 20 2013 Peter Jones <pjones@redhat.com> - 2.00-21
+- Fix obsoletes to pull in -starfield-theme subpackage when it should.
+
+* Fri Jun 14 2013 Peter Jones <pjones@redhat.com> - 2.00-20
+- Put the theme entirely ento the subpackage where it belongs (#974667)
+
+* Wed Jun 12 2013 Peter Jones <pjones@redhat.com> - 2.00-19
+- Rebase to upstream snapshot.
+- Fix PPC build error (#967862)
+- Fix crash on net_bootp command (#960624)
+- Reset colors on ppc when appropriate (#908519)
+- Left align "Loading..." messages (#908492)
+- Fix probing of SAS disks on PPC (#953954)
+- Add support for UEFI OSes returned by os-prober
+- Disable "video" mode on PPC for now (#973205)
+- Make grub fit better into the boot sequence, visually (#966719)
+
+* Fri May 10 2013 Matthias Clasen <mclasen@redhat.com> - 2.00-18
+- Move the starfield theme to a subpackage (#962004)
+- Don't allow SSE or MMX on UEFI builds (#949761)
+
+* Wed Apr 24 2013 Peter Jones <pjones@redhat.com> - 2.00-17.pj0
+- Rebase to upstream snapshot.
+
+* Thu Apr 04 2013 Peter Jones <pjones@redhat.com> - 2.00-17
+- Fix booting from drives with 4k sectors on UEFI.
+- Move bash completion to new location (#922997)
+- Include lvm support for /boot (#906203)
+
+* Thu Feb 14 2013 Peter Jones <pjones@redhat.com> - 2.00-16
+- Allow the user to disable submenu generation
+- (partially) support BLS-style configuration stanzas.
+
+* Tue Feb 12 2013 Peter Jones <pjones@redhat.com> - 2.00-15.pj0
+- Add various config file related changes.
+
+* Thu Dec 20 2012 Dennis Gilmore <dennis@ausil.us> - 2.00-15
+- bump nvr
+
+* Mon Dec 17 2012 Karsten Hopp <karsten@redhat.com> 2.00-14
+- add bootpath device to the device list (pfsmorigo, #886685)
+
+* Tue Nov 27 2012 Peter Jones <pjones@redhat.com> - 2.00-13
+- Add vlan tag support (pfsmorigo, #871563)
+- Follow symlinks during PReP installation in grub2-install (pfsmorigo, #874234)
+- Improve search paths for config files on network boot (pfsmorigo, #873406)
+
+* Tue Oct 23 2012 Peter Jones <pjones@redhat.com> - 2.00-12
+- Don't load modules when grub transitions to "normal" mode on UEFI.
+
+* Mon Oct 22 2012 Peter Jones <pjones@redhat.com> - 2.00-11
+- Rebuild with newer pesign so we'll get signed with the final signing keys.
+
+* Thu Oct 18 2012 Peter Jones <pjones@redhat.com> - 2.00-10
+- Various PPC fixes.
+- Fix crash fetching from http (gustavold, #860834)
+- Issue separate dns queries for ipv4 and ipv6 (gustavold, #860829)
+- Support IBM CAS reboot (pfsmorigo, #859223)
+- Include all modules in the core image on ppc (pfsmorigo, #866559)
+
+* Mon Oct 01 2012 Peter Jones <pjones@redhat.com> - 1:2.00-9
+- Work around bug with using "\x20" in linux command line.
+  Related: rhbz#855849
+
+* Thu Sep 20 2012 Peter Jones <pjones@redhat.com> - 2.00-8
+- Don't error on insmod on UEFI/SB, but also don't do any insmodding.
+- Increase device path size for ieee1275
+  Resolves: rhbz#857936
+- Make network booting work on ieee1275 machines.
+  Resolves: rhbz#857936
+
+* Wed Sep 05 2012 Matthew Garrett <mjg@redhat.com> - 2.00-7
+- Add Apple partition map support for EFI
+
+* Thu Aug 23 2012 David Cantrell <dcantrell@redhat.com> - 2.00-6
+- Only require pesign on EFI architectures (#851215)
+
+* Tue Aug 14 2012 Peter Jones <pjones@redhat.com> - 2.00-5
+- Work around AHCI firmware bug in efidisk driver.
+- Move to newer pesign macros
+- Don't allow insmod if we're in secure-boot mode.
+
+* Wed Aug 08 2012 Peter Jones <pjones@redhat.com>
+- Split module lists for UEFI boot vs UEFI cd images.
+- Add raid modules for UEFI image (related: #750794)
+- Include a prelink whitelist for binaries that need execstack (#839813)
+- Include fix efi memory map fix from upstream (#839363)
+
+* Wed Aug 08 2012 Peter Jones <pjones@redhat.com> - 2.00-4
+- Correct grub-mkimage invocation to use efidir RPM macro (jwb)
+- Sign with test keys on UEFI systems.
+- PPC - Handle device paths with commas correctly.
+  Related: rhbz#828740
+
+* Wed Jul 25 2012 Peter Jones <pjones@redhat.com> - 2.00-3
+- Add some more code to support Secure Boot, and temporarily disable
+  some other bits that don't work well enough yet.
+  Resolves: rhbz#836695
+
+* Wed Jul 11 2012 Matthew Garrett <mjg@redhat.com> - 2.00-2
+- Set a prefix for the image - needed for installer work
+- Provide the font in the EFI directory for the same reason
+
+* Thu Jun 28 2012 Peter Jones <pjones@redhat.com> - 2.00-1
+- Rebase to grub-2.00 release.
+
+* Mon Jun 18 2012 Peter Jones <pjones@redhat.com> - 2.0-0.37.beta6
+- Fix double-free in grub-probe.
+
+* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.36.beta6
+- Build with patch19 applied.
+
+* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.35.beta6
+- More ppc fixes.
+
+* Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.34.beta6
+- Add IBM PPC fixes.
+
+* Mon Jun 04 2012 Peter Jones <pjones@redhat.com> - 2.0-0.33.beta6
+- Update to beta6.
+- Various fixes from mads.
+
+* Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.32.beta5
+- Revert builddep change for crt1.o; it breaks ppc build.
+
+* Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.31.beta5
+- Add fwsetup command (pjones)
+- More ppc fixes (IBM)
+
+* Tue May 22 2012 Peter Jones <pjones@redhat.com> - 2.0-0.30.beta5
+- Fix the /other/ grub2-tools require to include epoch.
+
+* Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.29.beta5
+- Get rid of efi_uga and efi_gop, favoring all_video instead.
+
+* Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.28.beta5
+- Name grub.efi something that's arch-appropriate (kiilerix, pjones)
+- use EFI/$SOMETHING_DISTRO_BASED/ not always EFI/redhat/grub2-efi/ .
+- move common stuff to -tools (kiilerix)
+- spec file cleanups (kiilerix)
+
+* Mon May 14 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
+- Fix module trampolining on ppc (benh)
+
+* Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
+- Fix license of theme (mizmo)
+  Resolves: rhbz#820713
+- Fix some PPC bootloader detection IBM problem
+  Resolves: rhbz#820722
+
+* Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.26.beta5
+- Update to beta5.
+- Update how efi building works (kiilerix)
+- Fix theme support to bring in fonts correctly (kiilerix, pjones)
+
+* Wed May 09 2012 Peter Jones <pjones@redhat.com> - 2.0-0.25.beta4
+- Include theme support (mizmo)
+- Include locale support (kiilerix)
+- Include html docs (kiilerix)
+
+* Thu Apr 26 2012 Peter Jones <pjones@redhat.com> - 2.0-0.24
+- Various fixes from Mads Kiilerich
+
+* Thu Apr 19 2012 Peter Jones <pjones@redhat.com> - 2.0-0.23
+- Update to 2.00~beta4
+- Make fonts work so we can do graphics reasonably
+
+* Thu Mar 29 2012 David Aquilina <dwa@redhat.com> - 2.0-0.22
+- Fix ieee1275 platform define for ppc
+
+* Thu Mar 29 2012 Peter Jones <pjones@redhat.com> - 2.0-0.21
+- Remove ppc excludearch lines (dwa)
+- Update ppc terminfo patch (hamzy)
+
+* Wed Mar 28 2012 Peter Jones <pjones@redhat.com> - 2.0-0.20
+- Fix ppc64 vs ppc exclude according to what dwa tells me they need
+- Fix version number to better match policy.
+
+* Tue Mar 27 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.2
+- Add support for serial terminal consoles on PPC by Mark Hamzy
+
+* Sun Mar 25 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.1
+- Use Fix-tests-of-zeroed-partition patch by Mark Hamzy
+
+* Thu Mar 15 2012 Peter Jones <pjones@redhat.com> - 1.99-19
+- Use --with-grubdir= on configure to make it behave like -17 did.
+
+* Wed Mar 14 2012 Peter Jones <pjones@redhat.com> - 1.99-18
+- Rebase from 1.99 to 2.00~beta2
+
+* Wed Mar 07 2012 Peter Jones <pjones@redhat.com> - 1.99-17
+- Update for newer autotools and gcc 4.7.0
+  Related: rhbz#782144
+- Add /etc/sysconfig/grub link to /etc/default/grub
+  Resolves: rhbz#800152
+- ExcludeArch s390*, which is not supported by this package.
+  Resolves: rhbz#758333
+
+* Fri Feb 17 2012 Orion Poplawski <orion@cora.nwra.com> - 1:1.99-16
+- Build with -Os (bug 782144)
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-15
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Dec 14 2011 Matthew Garrett <mjg@redhat.com> - 1.99-14
+- fix up various grub2-efi issues
+
+* Thu Dec 08 2011 Adam Williamson <awilliam@redhat.com> - 1.99-13
+- fix hardwired call to grub-probe in 30_os-prober (rhbz#737203)
+
+* Mon Nov 07 2011 Peter Jones <pjones@redhat.com> - 1.99-12
+- Lots of .spec fixes from Mads Kiilerich:
+  Remove comment about update-grub - it isn't run in any scriptlets
+  patch info pages so they can be installed and removed correctly when renamed
+  fix references to grub/grub2 renames in info pages (#743964)
+  update README.Fedora (#734090)
+  fix comments for the hack for upgrading from grub2 < 1.99-4
+  fix sed syntax error preventing use of $RPM_OPT_FLAGS (#704820)
+  make /etc/grub2*.cfg %config(noreplace)
+  make grub.cfg %ghost - an empty file is of no use anyway
+  create /etc/default/grub more like anaconda would create it (#678453)
+  don't create rescue entries by default - grubby will not maintain them anyway
+  set GRUB_SAVEDEFAULT=true so saved defaults works (rbhz#732058)
+  grub2-efi should have its own bash completion
+  don't set gfxpayload in efi mode - backport upstream r3402
+- Handle dmraid better. Resolves: rhbz#742226
+
+* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-11
+- Rebuilt for glibc bug#747377
+
+* Wed Oct 19 2011 Adam Williamson <awilliam@redhat.com> - 1.99-10
+- /etc/default/grub is explicitly intended for user customization, so
+  mark it as config(noreplace)
+
+* Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-9
+- grub has an epoch, so we need that expressed in the obsolete as well.
+  Today isn't my day.
+
+* Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-8
+- Fix my bad obsoletes syntax.
+
+* Thu Oct 06 2011 Peter Jones <pjones@redhat.com> - 1.99-7
+- Obsolete grub
+  Resolves: rhbz#743381
+
+* Wed Sep 14 2011 Peter Jones <pjones@redhat.com> - 1.99-6
+- Use mv not cp to try to avoid moving disk blocks around for -5 fix
+  Related: rhbz#735259
+- handle initramfs on xen better (patch from Marko Ristola)
+  Resolves: rhbz#728775
+
+* Sat Sep 03 2011 Kalev Lember <kalevlember@gmail.com> - 1.99-5
+- Fix upgrades from grub2 < 1.99-4 (#735259)
+
+* Fri Sep 02 2011 Peter Jones <pjones@redhat.com> - 1.99-4
+- Don't do sysadminny things in %preun or %post ever. (#735259)
+- Actually include the changelog in this build (sorry about -3)
+
+* Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-2
+- Require os-prober (#678456) (patch from Elad Alfassa)
+- Require which (#734959) (patch from Elad Alfassa)
+
+* Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-1
+- Update to grub-1.99 final.
+- Fix crt1.o require on x86-64 (fix from Mads Kiilerich)
+- Various CFLAGS fixes (from Mads Kiilerich)
+  - -fexceptions and -m64
+- Temporarily ignore translations (from Mads Kiilerich)
+
+* Thu Jul 21 2011 Peter Jones <pjones@redhat.com> - 1.99-0.3
+- Use /sbin not /usr/sbin .
+
+* Thu Jun 23 2011 Peter Lemenkov <lemenkov@gmail.com> - 1:1.99-0.2
+- Fixes for ppc and ppc64
 
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.98-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

+ 636 - 0
o/ostree/ostree-vl.spec

@@ -0,0 +1,636 @@
+%bcond_with systemd
+%bcond_with tests
+
+Summary:        Tool for managing bootable, immutable filesystem trees
+Name:           ostree
+Version:        2020.4
+Release:        1%{?_dist_release}%{?with_systemd:.systemd}
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+License:        LGPLv2+
+URL:            https://ostree.readthedocs.io/en/latest/
+Source0:        https://github.com/ostreedev/%{name}/releases/download/v%{version}/libostree-%{version}.tar.xz
+
+BuildRequires: git
+# We always run autogen.sh
+BuildRequires: autoconf automake libtool
+# For docs
+BuildRequires: gtk-doc
+# Core requirements
+BuildRequires: pkgconfig(zlib)
+BuildRequires: curl-devel
+BuildRequires: openssl-devel
+# The tests still require soup
+BuildRequires: pkgconfig(libsoup-2.4)
+BuildRequires: libattr-devel
+# Extras
+BuildRequires: pkgconfig(libarchive)
+BuildRequires: pkgconfig(liblzma)
+BuildRequires: pkgconfig(mount)
+BuildRequires: pkgconfig(fuse)
+BuildRequires: pkgconfig(e2p)
+BuildRequires: libcap-devel
+BuildRequires: gpgme-devel
+%if %{with systemd}
+BuildRequires: pkgconfig(libsystemd)
+%endif
+BuildRequires: /usr/bin/g-ir-scanner
+BuildRequires: dracut
+BuildRequires: bison
+BuildRequires: python3-devel
+
+# Runtime requirements
+Requires: dracut
+Requires: /usr/bin/gpgv2
+%if %{with systemd}
+Requires: systemd-units
+%endif
+Requires: %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description
+libostree is a shared library designed primarily for
+use by higher level tools to manage host systems (e.g. rpm-ostree),
+as well as container tools like flatpak and the atomic CLI.
+
+%package libs
+Summary: Development headers for %{name}
+
+%description libs
+The %{name}-libs provides shared libraries for %{name}.
+
+%package devel
+Summary: Development headers for %{name}
+Requires: %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description devel
+The %{name}-devel package includes the header files for the %{name} library.
+
+%ifnarch s390 s390x
+%package grub2
+Summary: GRUB2 integration for OSTree
+%ifnarch aarch64 %{arm}
+Requires: grub2
+%else
+Requires: grub2-efi
+%endif
+Requires: ostree
+
+%description grub2
+GRUB2 integration for OSTree
+%endif
+
+%if %{with tests}
+%package tests
+Summary: Tests for the %{name} package
+Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description tests
+This package contains tests that can be used to verify
+the functionality of the installed %{name} package.
+%endif
+
+%prep
+%autosetup -Sgit -n libostree-%{version}
+
+%build
+env NOCONFIGURE=1 ./autogen.sh
+%configure --disable-silent-rules \
+           --enable-gtk-doc \
+           --with-curl \
+           --with-openssl \
+           %{?with_tests:--enable-installed-tests=exclusive} \
+           --with-dracut=yesbutnoconf
+%make_build
+
+%install
+%make_install INSTALL="install -p -c"
+find %{buildroot} -name '*.la' -delete
+
+%if %{with systemd}
+# Needed to enable the service at compose time currently
+%post
+%systemd_post ostree-remount.service
+
+%preun
+%systemd_preun ostree-remount.service
+%endif
+
+%files
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc README.md
+%{_bindir}/ostree
+%{_bindir}/rofiles-fuse
+%{_datadir}/ostree
+%dir %{_datadir}/bash-completion
+%dir %{_datadir}/bash-completion/completions
+%{_datadir}/bash-completion/completions/*
+%dir %{_prefix}/lib/dracut/modules.d/98ostree
+%{_prefix}/lib/dracut/modules.d/98ostree/*
+%{_mandir}/man*/*.gz
+%exclude %{_sysconfdir}/grub.d/*ostree
+%exclude %{_libexecdir}/libostree/grub2*
+%exclude %{_libexecdir}/libostree/ostree-trivial-httpd
+%if %{with systemd}
+%{_unitdir}/ostree*.*
+/lib/systemd/system-generators/ostree-system-generator
+%{_tmpfilesdir}/*
+%endif
+%{_prefix}/lib/ostree
+# Moved in git master
+%{_libexecdir}/libostree/*
+
+%files libs
+%{_sysconfdir}/ostree
+%{_libdir}/*.so.1*
+%{_libdir}/girepository-1.0/OSTree-1.0.typelib
+
+%files devel
+%{_libdir}/lib*.so
+%{_includedir}/*
+%{_libdir}/pkgconfig/*
+%dir %{_datadir}/gtk-doc/html/ostree
+%{_datadir}/gtk-doc/html/ostree
+%{_datadir}/gir-1.0/OSTree-1.0.gir
+
+%ifnarch s390 s390x
+%files grub2
+%{_sysconfdir}/grub.d/*ostree
+%dir %{_libexecdir}/libostree
+%{_libexecdir}/libostree/grub2*
+%endif
+
+%if %{with tests}
+%files tests
+%{_libexecdir}/installed-tests
+%{_datadir}/installed-tests
+%{_libexecdir}/libostree/ostree-trivial-httpd
+%endif
+
+%changelog
+* Tue Jul 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2020.4-1
+- new upstream release.
+
+* Sat Sep 21 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2019.3-4
+- initial build for Vine Linux.
+
+* Thu Aug 22 2019 Colin Walters <walters@verbum.org> - 2019.3-3
+- https://github.com/ostreedev/ostree/releases/tag/v2019.3
+
+* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2019.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Wed Apr 24 2019 Jonathan Lebon <jonathan@jlebon.com> - 2019.2-1
+- https://github.com/ostreedev/ostree/releases/tag/v2019.2
+
+* Sat Feb 09 2019 Dusty Mabe <dusty@dustymabe.com> - 2019.1-5
+- Re-enable http2 in ostree build
+
+* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2019.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Thu Jan 17 2019 Sinny Kumari <ksinny@gmail.com> - 2019.1-3
+- Backport patch to fix bare → bare imports
+- Backport patch to Set xattr on correct fd for bare-user → bare-user imports
+
+* Fri Jan 11 2019 Colin Walters <walters@verbum.org> - 2019.1-2
+- https://github.com/ostreedev/ostree/releases/tag/v2019.1
+
+* Fri Jan 11 2019 Colin Walters <walters@verbum.org> - 2018.9-2
+- Work around https://src.fedoraproject.org/rpms/nfs-utils/pull-request/7
+
+* Thu Oct 25 2018 Colin Walters <walters@verbum.org> - 2018.9-1
+- https://github.com/ostreedev/ostree/releases/tag/v2018.9
+
+* Wed Oct 17 2018 Jonathan Lebon <jonathan@jlebon.com>
+- Add conditional for tests and disable by default on RHEL > 7
+
+* Wed Aug 22 2018 Colin Walters <walters@verbum.org> - 2018.8-1
+- https://github.com/ostreedev/ostree/releases/tag/v2018.8
+
+* Sun Aug 12 2018 Peter Robinson <pbrobinson@fedoraproject.org> 2018.7-2
+- Enable grub2 support on ARMv7
+
+* Fri Jul 20 2018 Colin Walters <walters@verbum.org> - 2018.7-1
+- https://github.com/ostreedev/ostree/releases/tag/v2018.7
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2018.6-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Wed Jul 04 2018 Jonathan Lebon <jonathan@jlebon.com> - 2018.6-4
+- Backport patch to fix /var mountpoints
+  https://github.com/ostreedev/ostree/issues/1667
+
+* Thu Jun 21 2018 Colin Walters <walters@redhat.com> - 2018.6-3
+- https://github.com/ostreedev/ostree/releases/tag/v2018.6
+
+* Fri May 11 2018 Colin Walters <walters@verbum.org> - 2018.5-1
+- https://github.com/ostreedev/ostree/releases/tag/v2018.5
+
+* Tue Apr 03 2018 Kalev Lember <klember@redhat.com> - 2018.3-2
+- Backport a patch to avoid writing to parent repo
+
+* Wed Mar 21 2018 Colin Walters <walters@verbum.org> - 2018.3-1
+- https://github.com/ostreedev/ostree/releases/tag/v2018.3
+
+* Fri Mar 02 2018 Jonathan Lebon <jlebon@redhat.com> - 2018.2-2
+- Drop ostree-remount systemd service preset, already in fedora-release
+  https://bugzilla.redhat.com/show_bug.cgi?id=1550799
+
+* Thu Feb 15 2018 Colin Walters <walters@verbum.org> - 2018.2-1
+- https://github.com/ostreedev/ostree/releases/tag/v2018.2
+
+* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2018.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Mon Jan 15 2018 Colin Walters <walters@verbum.org> - 2018.1-1
+- https://github.com/ostreedev/ostree/releases/tag/v2018.1
+
+* Wed Dec 20 2017 Colin Walters <walters@verbum.org> - 2017.15-1
+- https://github.com/ostreedev/ostree/releases/tag/v2017.15
+- Drop upstreamed patches; note this build disabled HTTP2 by
+  default for now since we are hitting it with koji.  For more
+  information see https://github.com/ostreedev/ostree/issues/1362
+
+* Mon Dec 18 2017 Jonathan Lebon <jlebon@redhat.com> - 2017.14-2
+- Backport patch to drop HTTP2
+
+* Mon Dec 04 2017 Colin Walters <walters@verbum.org> - 2017.14-1
+- https://github.com/ostreedev/ostree/releases/tag/v2017.14
+- Update description
+
+* Mon Nov 27 2017 Colin Walters <walters@verbum.org> - 2017.13-4
+- Backport patch to drop curl low speed checks; requested by flatpak
+
+* Tue Nov 07 2017 Kalev Lember <klember@redhat.com> - 2017.13-3
+- Backport a patch to fix a gnome-software crash when installing flatpaks
+  (#1497642)
+
+* Thu Nov 02 2017 Colin Walters <walters@verbum.org> - 2017.13-2
+- https://github.com/ostreedev/ostree/releases/tag/v2017.13
+
+* Tue Oct 03 2017 Jonathan Lebon <jlebon@redhat.com> - 2017.12-2
+- Let tests subpackage own ostree-trivial-httpd
+
+* Mon Oct 02 2017 Colin Walters <walters@verbum.org> - 2017.12-1
+- New upstream version
+- https://github.com/ostreedev/ostree/releases/tag/v2017.12
+
+* Thu Sep 14 2017 Colin Walters <walters@verbum.org> - 2017.11-1
+- New upstream version
+- Add tests subpackage, prep for https://fedoraproject.org/wiki/CI
+
+* Tue Aug 22 2017 Ville Skyttä <ville.skytta@iki.fi> - 2017.10-3
+- Own the %%{_libexecdir}/libostree dir
+
+* Thu Aug 17 2017 Colin Walters <walters@verbum.org> - 2017.10-2
+- New upstream version
+
+* Sat Aug 12 2017 Ville Skyttä <ville.skytta@iki.fi> - 2017.9-5
+- Own the %%{_datadir}/ostree dir
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2017.9-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 2017.9-3
+- Rebuild with binutils fix for ppc64le (#1475636)
+
+* Thu Jul 27 2017 Colin Walters <walters@verbum.org> - 2017.9-2
+- New upstream version
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2017.8-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Mon Jul 17 2017 Colin Walters <walters@verbum.org> - 2017.8-3
+- Switch to libcurl for F26+
+  I think it works well; to recap the arguments below:
+  It has various advantages like HTTP2, plus now that NetworkManager
+  switched we are the last thing left in Fedora Atomic Host depending
+  on libsoup.
+
+* Thu Jul 06 2017 Colin Walters <walters@verbum.org> - 2017.8-2
+- New upstream version
+
+* Mon Jun 19 2017 Colin Walters <walters@verbum.org> - 2017.7-2
+- Update to new upstream
+
+* Fri Jun 02 2017 Colin Walters <walters@verbum.org> - 2017.6-4
+- Fix previous commit to actually work
+
+* Thu May 18 2017 Colin Walters <walters@verbum.org> - 2017.6-3
+- Enable curl+openssl on f27+
+  It has various advantages like HTTP2, plus now that NetworkManager
+  switched we are the last thing left in Fedora Atomic Host depending
+  on libsoup.
+
+* Wed May 17 2017 Colin Walters <walters@verbum.org> - 2017.6-2
+- New upstream version
+
+* Wed Apr 19 2017 Colin Walters <walters@verbum.org> - 2017.5-2
+- New upstream version
+
+* Wed Apr 12 2017 Colin Walters <walters@verbum.org> - 2017.4-2
+- New upstream version
+
+* Fri Mar 10 2017 Colin Walters <walters@verbum.org> - 2017.3-2
+- New upstream version
+
+* Fri Mar 03 2017 Colin Walters <walters@redhat.com> - 2017.2-4
+- Add patch for ppc64le grub2
+
+* Thu Feb 23 2017 Colin Walters <walters@verbum.org> - 2017.2-3
+- Backport libmount unref patch
+
+* Tue Feb 14 2017 Colin Walters <walters@verbum.org> - 2017.2-2
+- New upstream version
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2017.1-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Tue Feb 07 2017 Jonathan Lebon <jlebon@redhat.com> - 2017.1-4
+- Make ostree-grub2 require ostree
+
+* Tue Feb 07 2017 Colin Walters <walters@verbum.org> - 2017.1-3
+- Split off ostree-libs.  This is the inverse of upstream
+  https://github.com/ostreedev/ostree/pull/659
+  but renaming the package would be hard for low immediate gain.
+  With this at least, flatpak could theoretically depend just on libostree.
+  And similarly for rpm-ostree compose tree (when that gets split out).
+
+* Mon Jan 23 2017 Colin Walters <walters@verbum.org> - 2017.1-2
+- New upstream version
+
+* Wed Jan 18 2017 Colin Walters <walters@verbum.org> - 2016.15-2
+- Enable libmount for /boot readonly
+
+* Mon Dec 12 2016 walters@redhat.com - 2016.15-1
+- New upstream version
+
+* Sat Dec 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2016.14-3
+- Rebuild for gpgme 1.18
+
+* Tue Nov 29 2016 Kalev Lember <klember@redhat.com> - 2016.14-2
+- Backport a patch to remove an accidental print statement
+
+* Wed Nov 23 2016 walters@redhat.com - 2016.14-1
+- New upstream version
+
+* Tue Nov 15 2016 walters@redhat.com - 2016.13-2
+- New upstream version
+- Require glib-networking to fix https://pagure.io/pungi-fedora/pull-request/103
+
+* Sun Oct 23 2016 walters@verbum.org - 2016.12-1
+- New upstream release
+
+* Fri Oct 07 2016 walters@redhat.com - 2016.11-1
+- New upstream version
+
+* Tue Sep 20 2016 walters@redhat.com - 2016.10-8
+- Backport another patch for systemd journal
+  Resolves: #1265295
+
+* Fri Sep 16 2016 walters@verbum.org - 2016.10-6
+- Set --with-dracut=yesbutnoconf
+  Resolves: #1331369
+
+* Thu Sep 15 2016 walters@verbum.org - 2016.10-4
+- Backport patch to fix bug#1265295
+
+* Mon Sep 12 2016 Kalev Lember <klember@redhat.com> - 2016.10-3
+- pull: Do allow executing deltas when mirroring into bare{,-user}
+
+* Fri Sep 09 2016 Kalev Lember <klember@redhat.com> - 2016.10-2
+- Drop libgsystem dependency
+
+* Thu Sep 08 2016 walters@redhat.com - 2016.10-1
+- New upstream version
+
+* Wed Aug 31 2016 Colin Walters <walters@verbum.org> - 2016.9-1
+- New upstream version
+
+* Tue Aug 09 2016 walters@redhat.com - 2016.8-1
+- New upstream version
+
+* Tue Aug 09 2016 Colin Walters <walters@verbum.org> - 2016.7-4
+- Add pending patch to fix date-based pruning
+
+* Fri Jul 08 2016 walters@redhat.com - 2016.7-1
+- New upstream version
+
+* Mon Jun 20 2016 Colin Walters <walters@redhat.com> - 2016.6-1
+- New upstream version
+
+* Sun May  8 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2016.5-3
+- aarch64 only has grub2-efi
+- Use %%license
+
+* Fri Apr 15 2016 Colin Walters <walters@redhat.com> - 2016.5-2
+- New upstream version
+
+* Wed Mar 23 2016 Colin Walters <walters@redhat.com> - 2016.4-2
+- New upstream version
+
+* Fri Feb 26 2016 Colin Walters <walters@redhat.com> - 2016.3-1
+- New upstream version
+
+* Tue Feb 23 2016 Colin Walters <walters@redhat.com> - 2016.2-1
+- New upstream version
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2016.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Tue Jan 12 2016 Colin Walters <walters@redhat.com> - 2016.1-2
+- New upstream version
+
+* Fri Dec 04 2015 Colin Walters <walters@redhat.com> - 2015.11-2
+- New upstream version
+
+* Sun Nov 22 2015 Colin Walters <walters@redhat.com> - 2015.10-1
+- New upstream version
+
+* Thu Nov 12 2015 Matthew Barnes <mbarnes@redhat.com> - 2015.9-3
+- Add ostree-tmp-chmod.service to fix /tmp permissions on existing installs.
+  Resolves: #1276775
+
+* Fri Oct 30 2015 Colin Walters <walters@redhat.com> - 2015.9-2
+- Add patch to fix permissions of /tmp
+  Resolves: #1276775
+
+* Wed Sep 23 2015 Colin Walters <walters@redhat.com> - 2015.9-1
+- New upstream version
+
+* Wed Aug 26 2015 Colin Walters <walters@redhat.com> - 2015.8-1
+- New upstream version
+
+* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2015.7-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Tue Jun 02 2015 Colin Walters <walters@redhat.com> - 2015.7-1
+- New upstream version
+
+* Thu May 28 2015 Colin Walters <walters@redhat.com> - 2015.6-4
+- Add patch to ensure reliable bootloader ordering
+  See: #1225088
+
+* Thu Apr 30 2015 Colin Walters <walters@redhat.com> - 2015.6-3
+- Close sysroot fd in finalize to fix Anaconda
+  https://bugzilla.redhat.com/show_bug.cgi?id=1217578
+
+* Fri Apr 17 2015 Colin Walters <walters@redhat.com> - 2015.6-2
+- New upstream release
+
+* Sun Apr 12 2015 Colin Walters <walters@redhat.com> - 2015.5-4
+- (Really) Handle null epoch as well; this was injected for https://github.com/cgwalters/rpmdistro-gitoverlay
+
+* Tue Apr 07 2015 Colin Walters <walters@redhat.com> - 2015.5-2
+- New upstream release
+
+* Mon Mar 30 2015 Dan Horák <dan[at]danny.cz> - 2015.4-5
+- ExcludeArch is a build restriction and is global, switching to %%ifnarch
+
+* Fri Mar 27 2015 Colin Walters <walters@redhat.com> - 2015.4-4
+- Have grub2 subpackage match ExcludeArch with grub2
+
+* Fri Mar 27 2015 Colin Walters <walters@redhat.com> - 2015.4-3
+- Handle null epoch as well; this was injected for https://github.com/cgwalters/rpmdistro-gitoverlay
+
+* Wed Mar 25 2015 Colin Walters <walters@redhat.com> - 2015.4-2
+- New upstream release
+
+* Mon Feb 16 2015 Colin Walters <walters@redhat.com> - 2015.3-3
+- Require latest libgsystem to ensure people have it
+
+* Fri Jan 23 2015 Colin Walters <walters@redhat.com> - 2015.3-2
+- New upstream release
+
+* Thu Jan 08 2015 Colin Walters <walters@redhat.com> - 2015.2-1
+- New upstream release
+
+* Sun Jan 04 2015 Colin Walters <walters@redhat.com> - 2014.13-2
+- Add patch to ensure correct xattrs on modified config files
+  Fixes: #1178208
+
+* Wed Dec 17 2014 Colin Walters <walters@redhat.com> - 2014.13-1
+- New upstream release
+
+* Wed Nov 26 2014 Colin Walters <walters@redhat.com> - 2014.12-1
+- New upstream version
+
+* Thu Oct 30 2014 Colin Walters <walters@redhat.com> - 2014.11-1
+- New upstream release
+
+* Wed Oct 29 2014 Colin Walters <walters@redhat.com> - 2014.10.1.gedc3b9a-1
+- New upstream release
+
+* Fri Oct 24 2014 Colin Walters <walters@redhat.com> - 2014.9-2
+- New upstream release
+
+* Thu Oct 16 2014 Colin Walters <walters@redhat.com>
+- New upstream release
+
+* Mon Sep 08 2014 Colin Walters <walters@redhat.com> - 2014.6-1
+- New upstream release
+
+* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2014.5-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 2014.5-4
+- Rebuilt for gobject-introspection 1.41.4
+
+* Wed Jun 25 2014 Colin Walters <walters@verbum.org>
+- Rebuild to pick up new libsoup
+
+* Fri Jun 13 2014 Colin Walters <walters@verbum.org> - 2014.4-2
+- Include /etc/ostree, even though it is empty
+
+* Mon Jun 09 2014 Colin Walters <walters@verbum.org> - 2014.4-1
+- New upstream release
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2014.4-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Sun Apr 13 2014 Colin Walters <walters@verbum.org> - 2014.4-1
+- New upstream release
+
+* Mon Mar 31 2014 Colin Walters <walters@verbum.org>
+- New git snapshot for rpm-ostree
+
+* Fri Mar 21 2014 Colin Walters <walters@verbum.org> - 2014.3-1
+- New upstream release
+
+* Fri Mar 14 2014 Colin Walters <walters@verbum.org> - 2014.2-3
+- Move trusted.gpg.d to main runtime package, where it should be
+
+* Fri Mar 07 2014 Colin Walters <walters@verbum.org> - 2014.2-2
+- Depend on gpgv2 
+- Resolves: #1073813
+
+* Sat Mar 01 2014 Colin Walters <walters@verbum.org> - 2014.2-1
+- New upstream release
+- Depend on libselinux
+- Explicitly depend on libarchive too, we were actually failing
+  to disable it before
+
+* Fri Jan 24 2014 Colin Walters <walters@verbum.org> - 2014.1-1
+- New upstream release
+
+* Mon Jan 13 2014 Colin Walters <walters@verbum.org> - 2013.7-2
+- Add preset file so ostree-remount is enabled by default, since
+  it needs to be.
+
+* Tue Oct 15 2013 Colin Walters <walters@verbum.org> - 2013.7-1
+- New upstream release
+- Now LGPLv2+ only
+- Enable libarchive since it might be useful for people
+- Enable new gpgme dependency
+
+* Thu Sep 12 2013 Colin Walters <walters@verbum.org> - 2013.6-3
+- Enable introspection
+
+* Mon Sep 09 2013 Colin Walters <walters@verbum.org> - 2013.6-2
+- Tweak description
+
+* Mon Sep 09 2013 Colin Walters <walters@verbum.org> - 2013.6-1
+- New upstream release
+
+* Sun Aug 25 2013 Colin Walters <walters@verbum.org> - 2013.5-3
+- And actually while we are here, drop all the embedded dependency
+  goop from this spec file; it may live on in the EPEL branch.
+
+* Sun Aug 25 2013 Colin Walters <walters@verbum.org> - 2013.5-2
+- Drop requirement on linux-user-chroot
+  We now require triggers to be processed on the build server
+  by default, so ostree does not runtime-depend on linux-user-chroot.
+
+* Sat Aug 17 2013 Colin Walters <walters@verbum.org> - 2013.5-1
+- New upstream release
+- Add devel package
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2013.4-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Tue Jul 16 2013 Colin Walters <walters@verbum.org> - 2013.4-1
+- New upstream release
+
+* Sun Jul 07 2013 Colin Walters <walters@verbum.org> - 2013.3-1
+- New upstream release
+
+* Mon Apr 01 2013 Colin Walters <walters@verbum.org> - 2013.1-1
+- New upstream release
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2012.13-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Sun Dec 23 2012 Colin Walters <walters@verbum.org> - 2012.13-1
+- New upstream release
+
+* Tue Dec 18 2012 Colin Walters <walters@verbum.org> - 2012.12-2
+- Explicitly enable grub2 hook; otherwise we pick up whatever
+  the buildroot has, which is not what we want.
+
+* Mon Nov 19 2012 Colin Walters <walters@verbum.org> - 2012.12-1
+- Initial import; thanks to Michel Alexandre Salim for review
+  https://bugzilla.redhat.com/show_bug.cgi?id=819951
+