Make package multilib clean

Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
Adam Tkac 2013-04-19 12:49:13 +02:00
parent c16846520f
commit 5768ff11c4

View File

@ -8,7 +8,7 @@
Summary: Low-level DNS(SEC) library with API
Name: ldns
Version: 1.6.16
Release: 2%{?dist}
Release: 3%{?dist}
License: BSD
Url: http://www.nlnetlabs.nl/%{name}/
Source: http://www.nlnetlabs.nl/downloads/%{name}/%{name}-%{version}.tar.gz
@ -45,6 +45,15 @@ Requires: %{name} = %{version}-%{release}
Python extensions for ldns
%endif
%package doc
Summary: Documentation for the ldns library
Group: Development/Libraries
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
BuildArch: noarch
%description doc
This package contains documentation for the ldns library
%prep
%setup -q
# To built svn snapshots
@ -81,6 +90,8 @@ rm -rf %{buildroot}
make DESTDIR=%{buildroot} INSTALL="%{__install} -p" install
make DESTDIR=%{buildroot} INSTALL="%{__install} -p" install-doc
# don't package xml files
rm doc/*.xml
# don't package building script for install-doc in doc section
rm doc/doxyparse.pl
#remove double set of man pages
@ -110,7 +121,7 @@ rm -rf %{buildroot}
%{_bindir}/ldns-config
%dir %{_includedir}/ldns
%{_includedir}/ldns/*.h
%doc doc Changelog README
%doc Changelog README
%if %{with_python}
%files python
@ -118,11 +129,17 @@ rm -rf %{buildroot}
%{python_sitearch}/*
%endif
%files doc
%doc doc
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Fri Apr 19 2013 Adam Tkac <atkac redhat com> - 1.6.16-3
- make package multilib clean
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild