diff --git a/libdbi-drivers.changes b/libdbi-drivers.changes index e9ea612..85fba15 100644 --- a/libdbi-drivers.changes +++ b/libdbi-drivers.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 6 11:50:13 UTC 2014 - fcrozat@suse.com + +- Add COPYING to generated package. + ------------------------------------------------------------------- Wed Sep 11 13:07:00 UTC 2013 - jengelh@inai.de diff --git a/libdbi-drivers.spec b/libdbi-drivers.spec index 3333fb0..0381f65 100644 --- a/libdbi-drivers.spec +++ b/libdbi-drivers.spec @@ -83,6 +83,9 @@ does not require recompilation or rewriting source code. %setup -q %patch -P 1 -P 2 -P 3 -p1 +#ensure license doesn't have a executable permission +chmod 644 COPYING + # Fake the __DATE__ so we do not needelessly rebuild FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" drivers/*/*.c @@ -108,16 +111,19 @@ make check || : %files dbd-mysql %defattr(-,root,root) +%doc COPYING %dir %{_libdir}/dbd %{_libdir}/dbd/libdbdmysql.so %files dbd-pgsql %defattr(-,root,root) +%doc COPYING %dir %{_libdir}/dbd %{_libdir}/dbd/libdbdpgsql.so %files dbd-sqlite3 %defattr(-,root,root) +%doc COPYING %dir %{_libdir}/dbd %{_libdir}/dbd/libdbdsqlite3.so