Minor spec file fixes

This commit is contained in:
Honza Horák 2012-09-18 13:26:45 +02:00
parent 3d7546f76f
commit 652e3a5804
1 changed files with 4 additions and 8 deletions

View File

@ -1,13 +1,12 @@
Summary: A modern implementation of a DBM
Name: tokyocabinet
Version: 1.4.47
Release: 3%{?dist}
Release: 4%{?dist}
License: LGPLv2+
Group: Development/Libraries
URL: http://fallabs.com/tokyocabinet/
Source: http://fallabs.com/%{name}/%{name}-%{version}.tar.gz
Patch0: tokyocabinet-fedora.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pkgconfig zlib-devel bzip2-devel autoconf
%description
@ -37,7 +36,6 @@ autoconf
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
rm -rf %{buildroot}%{_datadir}/%{name}
@ -46,15 +44,11 @@ rm -rf %{buildroot}%{_libdir}/lib%{name}.a
%check
make check
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root, -)
%doc ChangeLog COPYING README
%{_bindir}/tc*
%{_libdir}/libtokyocabinet.so.*
@ -62,7 +56,6 @@ rm -rf %{buildroot}
%{_mandir}/man1/tc*.gz
%files devel
%defattr(-, root, root, -)
%{_includedir}/tc*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
@ -70,6 +63,9 @@ rm -rf %{buildroot}
%doc doc/*
%changelog
* Tue Sep 18 2012 Honza Horak <hhorak@redhat.com> - 1.4.47-4
- Minor spec file fixes
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.47-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild