From 06686d495e4d5e5824484d2c99c2b9256e2eb9f8 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Oct 23 2018 10:16:15 +0000 Subject: Add .uuid as ghost file. --- diff --git a/fontpackages-add-ghost-uuid.patch b/fontpackages-add-ghost-uuid.patch new file mode 100644 index 0000000..60a823d --- /dev/null +++ b/fontpackages-add-ghost-uuid.patch @@ -0,0 +1,24 @@ +From e05af3078939b6e0d677b44c75708653766fd6f1 Mon Sep 17 00:00:00 2001 +From: Akira TAGOH +Date: Tue, 23 Oct 2018 18:44:33 +0900 +Subject: [PATCH] Add .uuid as ghost file + +--- + rpm/macros.fonts | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/rpm/macros.fonts b/rpm/macros.fonts +index 1107717..b6a1395 100644 +--- a/rpm/macros.fonts ++++ b/rpm/macros.fonts +@@ -77,6 +77,7 @@ print(meld(meld(pkgname,fontname),subname) .. "-fonts") + \ + %files -n %{spn} \ + %dir %{_fontdir} \ ++%ghost %{_fontdir}/.uuid \ + %{lua: \ + for arg=1,rpm.expand("%#") do \ + print(rpm.expand("%{_fontdir}/%" .. arg) .. "\\n") \ +-- +2.17.2 + diff --git a/fontpackages.spec b/fontpackages.spec index da63a0a..3371f35 100644 --- a/fontpackages.spec +++ b/fontpackages.spec @@ -17,6 +17,7 @@ URL: http://fedoraproject.org/wiki/fontpackages Source0: http://fedorahosted.org/releases/f/o/%{name}/%{name}-%{version}.tar.xz Patch0: dnf.patch Patch1: %{name}-drop-fccache.patch +Patch2: %{name}-add-ghost-uuid.patch BuildArch: noarch BuildRequires: perl-generators @@ -113,6 +114,7 @@ cat < %{name}-%{version}.files %dir ${_fontconfig_masterdir} %dir ${_fontconfig_confdir} %dir ${_fontconfig_templatedir} +%ghost %{_fontbasedir}/.uuid EOF %files filesystem -f %{name}-%{version}.files @@ -140,6 +142,9 @@ EOF %{_bindir}/* %changelog +* Tue Oct 23 2018 Akira TAGOH +- Add .uuid as ghost file. + * Fri Jul 13 2018 Fedora Release Engineering - 1.44-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild