From c7de5594317501ce147edf43da4f32e527041cea Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Jul 18 2018 19:11:26 +0000 Subject: Added BR: gcc Removed ldconfig scriptlets Removed rm -rf at the start of %install Signed-off-by: Adrian Reber --- diff --git a/udns.spec b/udns.spec index 8e8aace..a2cc1d2 100644 --- a/udns.spec +++ b/udns.spec @@ -1,11 +1,12 @@ Summary: DNS resolver library for both synchronous and asynchronous DNS queries Name: udns Version: 0.4 -Release: 10%{?dist} +Release: 11%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.corpit.ru/mjt/udns.html Source: http://www.corpit.ru/mjt/udns/udns-%{version}.tar.gz +BuildRequires: gcc %description udns is a resolver library for C (and C++) programs, and a collection @@ -29,7 +30,6 @@ CFLAGS="%{optflags}" ./configure --enable-ipv6 %{__make} %{?_smp_mflags} all sharedlib %install -%{__rm} -rf %{buildroot} %{__install} -Dp -m0755 libudns.so.0 %{buildroot}%{_libdir}/libudns.so.0 %{__ln_s} -f libudns.so.0 %{buildroot}%{_libdir}/libudns.so %{__install} -Dp -m0755 dnsget %{buildroot}%{_bindir}/dnsget @@ -38,9 +38,6 @@ CFLAGS="%{optflags}" ./configure --enable-ipv6 %{__install} -Dp -m0444 udns.3 %{buildroot}%{_mandir}/man3/udns.3 %{__install} -Dp -m0644 udns.h %{buildroot}%{_includedir}/udns.h -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - %files %doc COPYING.LGPL NEWS NOTES TODO %doc %{_mandir}/man1/dnsget.1* @@ -53,6 +50,11 @@ CFLAGS="%{optflags}" ./configure --enable-ipv6 %{_libdir}/libudns.so %changelog +* Wed Jul 18 2018 Adrian Reber - 0.4-11 +- Added BR: gcc +- Removed ldconfig scriptlets +- Removed rm -rf at the start of %%install + * Sat Jul 14 2018 Fedora Release Engineering - 0.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild