- added Obsoletes field so that the upgrade goes cleanly

- added dist tag
This commit is contained in:
Tomas Janousek 2007-03-05 17:04:29 +00:00
parent 93f3158684
commit d0bc814dea
1 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Summary: A security tool which acts as a wrapper for TCP daemons.
Name: tcp_wrappers
Version: 7.6
Release: 41
Release: 42%{?dist}
%define LIB_MAJOR 0
%define LIB_MINOR 7
@ -31,6 +31,7 @@ Patch16: tcp_wrappers-7.6-162412.patch
BuildRequires: glibc-devel >= 2.2
BuildRoot: %{_tmppath}/%{name}-root
Requires: tcp_wrappers-libs = %{version}-%{release}
Obsoletes: tcp_wrappers < 7.6-41
%description
The tcp_wrappers package provides small daemon programs which can
@ -45,6 +46,7 @@ This version also supports IPv6.
%package libs
Summary: tcp_wrappers libraries.
Group: System Environment/Libraries
Obsoletes: tcp_wrappers < 7.6-41
%description libs
tcp_wrappers-libs contains the libraries of the tcp_wrappers package.
@ -52,6 +54,7 @@ tcp_wrappers-libs contains the libraries of the tcp_wrappers package.
%package devel
Summary: tcp_wrappers development libraries and headers.
Group: Development/Libraries
Obsoletes: tcp_wrappers < 7.6-41
Requires: tcp_wrappers-libs = %{version}-%{release}
%description devel
@ -132,6 +135,10 @@ rm -rf ${RPM_BUILD_ROOT}
%{_mandir}/man3/*
%changelog
* Mon Mar 05 2007 Tomas Janousek <tjanouse@redhat.com> - 7.6-42
- added Obsoletes field so that the upgrade goes cleanly
- added dist tag
* Mon Dec 4 2006 Thomas Woerner <twoerner@redhat.com> 7.6-41
- moved devel libraries, headers and man pages into devel sub package (#193188)
- new libs sub package for libraries