Spec file cleanup
This commit is contained in:
parent
5eb9021e31
commit
5972f2851a
21
gdbm.spec
21
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@redhat.com> - 1.10-4
|
||||
- Spec file cleanup
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user