Backport a patch to remove an accidental print statement

Needed for flatpak.
This commit is contained in:
Kalev Lember 2016-11-29 11:59:30 +01:00
parent af6a586d05
commit 677655c169
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,27 @@
From 70d140d61c259717fd9616c2e37eaae6b7338ae7 Mon Sep 17 00:00:00 2001
From: "Jasper St. Pierre" <jstpierre@mecheye.net>
Date: Wed, 23 Nov 2016 13:52:39 -0800
Subject: [PATCH] ostree-repo-traverse: Remove an accidental print statement
Closes: #594
Approved by: jlebon
---
src/libostree/ostree-repo-traverse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libostree/ostree-repo-traverse.c b/src/libostree/ostree-repo-traverse.c
index 5d99476..e620a8a 100644
--- a/src/libostree/ostree-repo-traverse.c
+++ b/src/libostree/ostree-repo-traverse.c
@@ -407,7 +407,7 @@ traverse_dirtree (OstreeRepo *repo,
if (ignore_missing_dirs &&
g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND))
{
- g_print ("Ignoring not-found dirmeta %s", checksum);
+ g_debug ("Ignoring not-found dirmeta %s", checksum);
ret = TRUE;
}
else
--
2.9.3

View File

@ -1,7 +1,7 @@
Summary: Tool for managing bootable, immutable filesystem trees
Name: ostree
Version: 2016.14
Release: 1%{?dist}
Release: 2%{?dist}
#VCS: git:git://git.gnome.org/ostree
Source0: https://github.com/ostreedev/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
Source1: 91-ostree.preset
@ -9,6 +9,7 @@ License: LGPLv2+
URL: https://ostree.readthedocs.io/en/latest/
# Backported from upstream
Patch1: 0001-ostree-repo-traverse-Remove-an-accidental-print-stat.patch
Patch2: 0001-ostree-remount-Explicitly-set-tmp-to-01777.patch
BuildRequires: git
@ -128,6 +129,9 @@ install -D -m 0644 %{SOURCE1} %{buildroot}%{_prefix}/lib/systemd/system-preset/9
%endif
%changelog
* 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