From 3de158b3fcf1401edb258170b721895ab4f39b467d9553310b5cb3a9dc4ea203 Mon Sep 17 00:00:00 2001 From: Kristyna Streitova Date: Fri, 24 Mar 2017 09:56:21 +0000 Subject: [PATCH] Accepting request 482319 from home:kstreitova:branches:devel:libraries:c_c++ - cleanup with spec-cleaner - get rid of %{name} macro in the patch name - restart patch numbering OBS-URL: https://build.opensuse.org/request/show/482319 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adns?expand=0&rev=23 --- adns.changes | 7 +++++++ adns.spec | 13 ++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/adns.changes b/adns.changes index 273d317..43db20f 100644 --- a/adns.changes +++ b/adns.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Mar 23 15:13:56 UTC 2017 - kstreitova@suse.com + +- cleanup with spec-cleaner +- get rid of %{name} macro in the patch name +- restart patch numbering + ------------------------------------------------------------------- Mon Mar 2 19:52:21 UTC 2015 - mpluskal@suse.com diff --git a/adns.spec b/adns.spec index 5054590..27b5880 100644 --- a/adns.spec +++ b/adns.spec @@ -1,7 +1,7 @@ # # spec file for package adns # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,9 +29,9 @@ Source1: http://www.chiark.greenend.org.uk/~ian/adns/ftp/%{name}-%{versio Source2: %{name}.keyring Source3: README.SUSE Source4: baselibs.conf -Patch0: %{name}-1.4-destdir.patch -Patch1: %{name}-1.4-configure.patch -Patch3: adns-visibility.patch +Patch0: adns-1.4-destdir.patch +Patch1: adns-1.4-configure.patch +Patch2: adns-visibility.patch BuildRequires: autoconf BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -63,7 +63,7 @@ programs with libads support. %setup -q %patch0 %patch1 -%patch3 +%patch2 cp %{SOURCE3} . %build @@ -72,7 +72,7 @@ autoreconf -fiv make %{?_smp_mflags} all %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install # FIXME: --disable-static not available rm %{buildroot}%{_libdir}/*.a @@ -91,7 +91,6 @@ rm %{buildroot}%{_libdir}/*.a %{_libdir}/libadns.so %post -n %{lname} -p /sbin/ldconfig - %postun -n %{lname} -p /sbin/ldconfig %changelog