Accepting request 221143 from server:database
- Add COPYING to generated package. (forwarded request 221120 from fcrozat) OBS-URL: https://build.opensuse.org/request/show/221143 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdbi-drivers?expand=0&rev=14
This commit is contained in:
parent
47929d486d
commit
e6afd6adc3
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user