re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-10 14:08:55 +02:00
parent d03aad82b9
commit 2117f83794
2 changed files with 21 additions and 7 deletions

3
.gitignore vendored
View File

@ -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

View File

@ -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 <rharwood@redhat.com> 3.2.1-12
- Rename to compat-hesiod to mark deprecation
- Resolves: RHELPLAN-9455
* Mon Apr 2 2018 Peter Robinson <pbrobinson@fedoraproject.org> 3.2.1-11
- Cleanup and modernise spec