SHA256
1
0
forked from pool/adns

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
This commit is contained in:
Kristyna Streitova 2017-03-24 09:56:21 +00:00 committed by Git OBS Bridge
parent 894e583cd6
commit 3de158b3fc
2 changed files with 13 additions and 7 deletions

View File

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

View File

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