[tokyocabinet] Minor spec file fixes
Honza Horak
hhorak at fedoraproject.org
Tue Sep 18 11:26:55 UTC 2012
commit 652e3a580471a275835b2ab2e4ee07b5bcbc67b0
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date: Tue Sep 18 13:26:45 2012 +0200
Minor spec file fixes
tokyocabinet.spec | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/tokyocabinet.spec b/tokyocabinet.spec
index a86d696..c8081ae 100644
--- a/tokyocabinet.spec
+++ b/tokyocabinet.spec
@@ -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 at redhat.com> - 1.4.47-4
+- Minor spec file fixes
+
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.47-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list