- Fix spec file

- Package manpages too
This commit is contained in:
Simo Sorce 2010-02-24 18:04:26 +00:00
parent 87cfe0d135
commit d6583c18e6

View File

@ -1,6 +1,6 @@
Name: libtdb
Version: 1.2.1
Release: 1%{?dist}
Release: 2%{?dist}
Group: System Environment/Daemons
Summary: The tdb library
License: LGPLv3+
@ -9,6 +9,7 @@ Source: http://samba.org/ftp/tdb/tdb-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: autoconf
BuildRequires: libxslt
%description
A library that implements a trivial database.
@ -43,8 +44,6 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
ln -s libtdb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtdb.so
rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.a
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/tdb.so
@ -67,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/tdbbackup
%{_bindir}/tdbdump
%{_bindir}/tdbtool
%{_mandir}/man8/tdbbackup.8*
%{_mandir}/man8/tdbdump.8*
%{_mandir}/man8/tdbtool.8*
%post
@ -76,6 +78,10 @@ rm -rf $RPM_BUILD_ROOT
/sbin/ldconfig
%changelog
* Wed Feb 24 2010 Simo Sorce <ssorce@redhat.com> - 1.2.1-2
- Fix spec file
- Package manpages too
* Wed Feb 24 2010 Simo Sorce <ssorce@redhat.com> - 1.2.1-1
- New upstream bugfix release