From 2117f837945c1ab546c73dff0c43a73a00bb17c8 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 10 Jul 2023 14:08:55 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 3 ++- hesiod.spec | 25 +++++++++++++++++++------ 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index bd4f89d..1af4815 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -SOURCES/hesiod-3.2.1.tar.gz +hesiod-3.0.2.tar.gz +hesiod-3.1.0.tar.gz /hesiod-3.2.1.tar.gz diff --git a/hesiod.spec b/hesiod.spec index 3e36d6d..97b2600 100644 --- a/hesiod.spec +++ b/hesiod.spec @@ -1,6 +1,6 @@ Name: hesiod Version: 3.2.1 -Release: 11%{?dist} +Release: 12 License: MIT Summary: Shared libraries for querying the Hesiod naming service @@ -8,12 +8,14 @@ Source: ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/hesiod-%{version}.tar.gz BuildRequires: autoconf, automake, libtool, libidn-devel Obsoletes: hesinfo < 3.2 -%description -Hesiod is a system which uses existing DNS functionality to provide access -to databases of information that changes infrequently. It is often used to -distribute information kept in the /etc/passwd, /etc/group, and /etc/printcap +%global _description\ +Hesiod is a system which uses existing DNS functionality to provide access\ +to databases of information that changes infrequently. It is often used to\ +distribute information kept in the /etc/passwd, /etc/group, and /etc/printcap\ files, among others. +%description %_description + %package devel Summary: Development libraries and headers for Hesiod Requires: hesiod = %{version}-%{release} @@ -26,6 +28,13 @@ distribute information which might otherwise kept in the /etc/passwd, ensure the files are synchronized among multiple hosts. This package contains the header files and libraries required for building programs which use Hesiod. +%package -n compat-hesiod +Summary: %summary +Provides: hesiod = %{version}-%{release} +Obsoletes: hesiod <= %{version}-%{release} + +%description -n compat-hesiod %_description + %prep %setup -q autoreconf -vif @@ -43,7 +52,7 @@ find %{buildroot} -type f -name "*.la" -delete %postun -p /sbin/ldconfig -%files +%files -n compat-hesiod %license COPYING %doc README NEWS %{_bindir}/* @@ -58,6 +67,10 @@ find %{buildroot} -type f -name "*.la" -delete %{_mandir}/man3/* %changelog +* Tue Dec 11 2018 Robbie Harwood 3.2.1-12 +- Rename to compat-hesiod to mark deprecation +- Resolves: RHELPLAN-9455 + * Mon Apr 2 2018 Peter Robinson 3.2.1-11 - Cleanup and modernise spec