fix license handling

This commit is contained in:
Tom Callaway 2014-07-12 11:10:50 -04:00
parent 8f04472d2d
commit 7a2ca43546

View File

@ -2,7 +2,7 @@
Summary: A GNU set of database routines which use extensible hashing
Name: gdbm
Version: 1.11
Release: 2%{?dist}
Release: 3%{?dist}
Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
# Prevent gdbm from storing uninitialized memory content
# to database files.
@ -98,7 +98,9 @@ if [ $1 = 0 ]; then
fi
%files -f %{name}.lang
%doc COPYING NEWS README THANKS AUTHORS NOTE-WARNING
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc NEWS README THANKS AUTHORS NOTE-WARNING
%{_libdir}/libgdbm.so.4*
%{_libdir}/libgdbm_compat.so.4*
%{_bindir}/gdbm*
@ -112,6 +114,9 @@ fi
%{_mandir}/man3/*
%changelog
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 1.11-3
- fix license handling
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild