[vlgothic-fonts] Drop -common package and keep consistent state of the directory

Akira TAGOH tagoh at fedoraproject.org
Fri Jan 11 10:38:54 UTC 2013


commit fbb6508ca4c67c1273becc17238b349116b3277c
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Fri Jan 11 19:38:28 2013 +0900

    Drop -common package and keep consistent state of the directory
    
      by using the macro. (#893789)
    - Drop old Obsoletes and Provides line.

 vlgothic-fonts.spec |   30 +++++++++++++-----------------
 1 files changed, 13 insertions(+), 17 deletions(-)
---
diff --git a/vlgothic-fonts.spec b/vlgothic-fonts.spec
index e6f9fe9..e98b6b2 100644
--- a/vlgothic-fonts.spec
+++ b/vlgothic-fonts.spec
@@ -23,30 +23,23 @@ Source2:	%{name}-fontconfig-gothic.conf
 BuildArch:	noarch
 BuildRequires:	fontpackages-devel
 
-Requires:	%{name}-common = %{version}-%{release}
-Obsoletes:	VLGothic-fonts < 20090204-1
-Provides:	VLGothic-fonts = %{version}-%{release}
+Requires:	fontpackages-filesystem
+Obsoletes:	%{name}-common < 20121230-2
+Provides:	%{name}-common = %{version}-%{release}
 %description
 %common_desc
 
 This package provides the monospace VLGothic font.
 
-%package	common
-Summary:	Common files for VLGothic Japanese TrueType fonts
-Group:		User Interface/X
-Requires:	fontpackages-filesystem
-
-%description	common
-%common_desc
-
-This package consists of files used by other %{name} packages.
 
 %package -n	%{fontname}-p-fonts
 Summary:	Proportional Japanese TrueType font
 Group:		User Interface/X
-Requires:	%{name}-common = %{version}-%{release}
+Requires:	fontpackages-filesystem
 Obsoletes:	VLGothic-fonts-proportional < 20090204-1
 Provides:	VLGothic-fonts-proportional = %{version}-%{release}
+Obsoletes:	%{name}-common < 20121230-2
+Provides:	%{name}-common = %{version}-%{release}
 
 %description -n	%{fontname}-p-fonts
 %common_desc
@@ -77,16 +70,19 @@ for fconf in %{pfontconf}.conf %{fontconf}.conf; do
 done
 
 
-%files common
-%doc README* LICENSE*
-%dir %{_fontdir}
-
 %_font_pkg -f %{fontconf}.conf VL-Gothic-Regular.ttf
+%doc README* LICENSE*
 
 %_font_pkg -n p -f %{pfontconf}.conf VL-PGothic-Regular.ttf
+%doc README* LICENSE*
 
 
 %changelog
+* Fri Jan 11 2013 Akira TAGOH <tagoh at redhat.com> - 20121230-2
+- Drop -common package and keep consistent state of the directory
+  by using the macro. (#893789)
+- Drop old Obsoletes and Provides line.
+
 * Fri Jan  4 2013 Akira TAGOH <tagoh at redhat.com> - 20121230-1
 - New upstream release. (#890992)
 


More information about the fonts-bugs mailing list