From e3b8670b985969ae640e9c5c908faee6138af047a3fd62927af1b5bf33d92db5 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 10 Aug 2007 07:49:21 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/adns?expand=0&rev=2 --- adns-1.3.tar.gz | 3 --- adns-1.3.tar.gz.sig | Bin 152 -> 0 bytes adns-1.4.tar.bz2 | 3 +++ adns.changes | 8 ++++++ adns.spec | 59 +++++++++++++++++++++++--------------------- 5 files changed, 42 insertions(+), 31 deletions(-) delete mode 100644 adns-1.3.tar.gz delete mode 100644 adns-1.3.tar.gz.sig create mode 100644 adns-1.4.tar.bz2 diff --git a/adns-1.3.tar.gz b/adns-1.3.tar.gz deleted file mode 100644 index aaebf9b..0000000 --- a/adns-1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c6e2452ca82481d9da88d7745cdb0ffd6c1e54c906f58f57624ad37d353e0d16 -size 252263 diff --git a/adns-1.3.tar.gz.sig b/adns-1.3.tar.gz.sig deleted file mode 100644 index 7d6ff97103a2bc6c899cb264b615965da5e7a228b40651dc7b0593456f18a83e..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 152 zcmV;J0B8S+0F?s;07Qk_X2TYax+C?i+W`XAnFIj9dGbZLqx;WkBPi_rtMBT)sDB5X z&yL0bwK}u~o0*Rjtu6F68lrCCs9WoW&IO;$t^k_#yr=A&wRHm zlo3HgH2(&3&g5UL+5B+RcK6?wAanEB(jKQd2x*B7s8-SH4& -%package -n libadns +%package -n libadns1 Summary: Advanced DNS resolver client library Group: System/Libraries -Autoreqprov: on +Provides: libadns = %{version} +#openSUSE 10.2 +Obsoletes: libadns <= 1.3 -%description -n libadns +%description -n libadns1 Libadns is an advanced, easy to use, asynchronous-capable DNS resolver client library for C (and C++) programs. @@ -51,10 +50,9 @@ Authors: Ian Jackson %package -n libadns-devel -Summary: Libraries and header files to develop programs with libads support. +Summary: Libraries and header files to develop programs with libadns support Group: Development/Languages/C and C++ -Autoreqprov: on -Requires: libadns = %{version}, glibc-devel +Requires: libadns1 = %{version} glibc-devel %description -n libadns-devel Libadns-devel includes the header file and static library to develop @@ -72,23 +70,19 @@ Authors: %patch1 %build -%{?suse_update_config:%{suse_update_config -f}} -rm acconfig.h autoreconf -fi export CFLAGS="$RPM_OPT_FLAGS -Wall" -%configure -%{__make} all +%configure --with-pic +%{__make} %{?jobs:-j%jobs} all %install -[ "%buildroot" != "/" -a -d %buildroot ] && rm -rf %buildroot -mkdir -p \ - %buildroot/%{_bindir} \ - %buildroot/%{_libdir} \ - %buildroot/%{_includedir} -%{__make} DESTDIR=%buildroot install +%{__make} DESTDIR=%{buildroot} install + +%check +%{__make} check %clean -[ "%buildroot" != "/" -a -d %buildroot ] && rm -rf %buildroot +%{__rm} -rf %{buildroot} %files %defattr(-,root,root) @@ -98,17 +92,26 @@ mkdir -p \ %{_bindir}/adnsheloex %doc changelog COPYING GPL-vs-LGPL INSTALL README* TODO -%files -n libadns +%files -n libadns1 %defattr(-,root,root) %{_libdir}/libadns.so.1* %files -n libadns-devel %defattr(-,root,root) %{_includedir}/adns.h -%{_libdir}/libadns.a %{_libdir}/libadns.so +%{_libdir}/libadns.a -%changelog -n adns +%post -n libadns1 -p /sbin/ldconfig + +%postun -n libadns1 -p /sbin/ldconfig + +%changelog +* Tue Aug 07 2007 - crrodriguez@suse.de +- update to version 1.4 +- run ldconfig +- use library packaging policy +- run make check * Fri Sep 01 2006 - mt@suse.de - updated to adns-1.3, providing new support for SRV RRs and unknown RRs as well as several portability fixes.