From 13d6629c5d75010d6e0bede9843727a57989414f Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Sat, 2 Feb 2008 01:14:02 -0700 Subject: [PATCH] e2fsprogs-specdotin.patch Add the distro type to the RPM release number, so that it is possible release multiple distro packages without having conflicting RPM package names. Allow the RPM built from upstream to replace the split packages provided by the distros. At some point in the future it may be desirable to also split the RPM built by this spec file, but this is complicated by the fact that SLES and RHEL have different splits. Signed-off-by: Girish Shilamkar Signed-off-by: Andreas Dilger --- e2fsprogs.spec.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/e2fsprogs.spec.in b/e2fsprogs.spec.in index 3e7d1eea2..415c9b634 100644 --- a/e2fsprogs.spec.in +++ b/e2fsprogs.spec.in @@ -6,13 +6,22 @@ Summary: Utilities for managing the second extended (ext2) filesystem. Name: e2fsprogs Version: @E2FSPROGS_PKGVER@ -Release: 0 +Release: 0%{_vendor} License: GPLv2 Group: System Environment/Base Source: ftp://download.sourceforge.net/pub/sourceforge/e2fsprogs/e2fsprogs-%{version}.tar.gz Url: http://e2fsprogs.sourceforge.net/ Prereq: /sbin/ldconfig BuildRoot: %{_tmppath}/%{name}-root +%if %{_vendor} == "suse" +Group: System/Filesystems +Provides: e2fsbn ext2fs libcom_err = %{version} +Obsoletes: ext2fs libcom_err < %{version} +%else +Group: System Environment/Base +Obsoletes: e2fsprogs-libs < %{version} +Provides: e2fsprogs-libs = %{version} +%endif %description The e2fsprogs package contains a number of utilities for creating, -- 2.47.2