[gdbm] Spec file cleanup
Honza Horak
hhorak at fedoraproject.org
Mon Aug 27 09:56:52 UTC 2012
commit 5972f2851a902807b27d9f1fff90006df3e11acb
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date: Mon Aug 27 11:50:55 2012 +0200
Spec file cleanup
gdbm.spec | 21 ++++++++++-----------
1 files changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/gdbm.spec b/gdbm.spec
index f0160bf..11901f6 100644
--- a/gdbm.spec
+++ b/gdbm.spec
@@ -3,8 +3,7 @@ Summary: A GNU set of database routines which use extensible hashing
Name: gdbm
Version: 1.10
Release: 3%{?dist}
-#Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
-Source: gdbm-%{version}.tar.gz
+Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
# Prevent gdbm from storing uninitialized memory content
# to database files.
# The change allows Valgrind users to debug their packages without
@@ -54,14 +53,13 @@ gdbm database library. You'll also need to install the gdbm package.
%build
%configure \
- --disable-static \
-%{!?with_largefile: --disable-largefile} \
- --enable-libgdbm-compat
+ --disable-static \
+%{!?with_largefile: --disable-largefile} \
+ --enable-libgdbm-compat
-make
+make %{?_smp_mflags}
%install
-rm -rf ${RPM_BUILD_ROOT}
%makeinstall
%find_lang %{name}
@@ -90,19 +88,17 @@ make check
%preun devel
if [ $1 = 0 ]; then
- /sbin/install-info --delete %{_infodir}/gdbm.info.gz %{_infodir}/dir \
- --entry="* gdbm: (gdbm). The GNU Database." || :
+ /sbin/install-info --delete %{_infodir}/gdbm.info.gz %{_infodir}/dir \
+ --entry="* gdbm: (gdbm). The GNU Database." || :
fi
%files -f %{name}.lang
-%defattr(-,root,root,-)
%doc COPYING NEWS README THANKS AUTHORS NOTE-WARNING
%{_libdir}/libgdbm.so.4*
%{_libdir}/libgdbm_compat.so.4*
%{_bindir}/testgdbm
%files devel
-%defattr(-,root,root,-)
%{_libdir}/libgdbm.so
%{_libdir}/libgdbm_compat.so
%{_includedir}/*
@@ -110,6 +106,9 @@ fi
%{_mandir}/man3/*
%changelog
+* Mon Aug 27 2012 Honza Horak <hhorak at redhat.com> - 1.10-4
+- Spec file cleanup
+
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list