kvolny pushed to vodovod (epel7). "fix bug #477480"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Apr 13 08:08:58 UTC 2015
>From a438d2649686ba31cb61b36ed31c979653f65b6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Voln=C3=BD?= <kvolny at fedoraproject.org>
Date: Fri, 16 Jan 2009 16:07:27 +0000
Subject: fix bug #477480
diff --git a/vodovod.spec b/vodovod.spec
index 16a907a..36abc3a 100644
--- a/vodovod.spec
+++ b/vodovod.spec
@@ -1,18 +1,19 @@
Name: vodovod
Version: 1.10r19
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A pipe connecting game
Group: Amusements/Games
License: GPLv2+
URL: http://home.gna.org/vodovod/
-#Source: http://download.gna.org/vodovod/%{name}-%{version}-src.tar.gz
+#Source: http://download.gna.org/vodovod/%{name}-%{version}-src.tar.gz
Source: %{name}-%{version}-src.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils SDL-devel SDL_image-devel SDL_mixer-devel
BuildRequires: SDL_ttf-devel gettext ImageMagick
+Requires: dejavu-fonts-sans-mono
Requires(post): coreutils
Requires(postun): coreutils
@@ -30,6 +31,10 @@ tak, aby svedly vodu z domku na vrchu obrazovky do nádrže dole.
%prep
#%setup -q -n %{name}-%{version}-src
%setup -q -n %{name}
+# replace the bundled font usage with the one provided by font package
+rm data/font1.ttf
+sed -i -e "s|data/font1.ttf|../fonts/dejavu/DejaVuSansMono.ttf|" \
+ allmenus.cpp main.cpp game.cpp
%build
@@ -95,6 +100,9 @@ fi
%changelog
+* Thu Jan 15 2009 Karel Volny <kvolny at redhat.com> 1.10r19-2
+- Use dejavu-fonts-sans-mono instead of bundling the font file (bug #477480)
+
* Thu Dec 11 2008 Karel Volny <kvolny at redhat.com> 1.10r19-1
- Added coreutils to post(un) (fixes bug #475921)
- New version requires SDL_ttf-devel
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/vodovod.git/commit/?h=epel7&id=a438d2649686ba31cb61b36ed31c979653f65b6f
More information about the scm-commits
mailing list