- Small packaging cleanup
OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=189
This commit is contained in:
parent
c62340807e
commit
177080c8ca
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 16 07:20:20 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Small packaging cleanup
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 9 07:43:28 UTC 2017 - astieger@suse.com
|
Fri Jun 9 07:43:28 UTC 2017 - astieger@suse.com
|
||||||
|
|
||||||
|
23
sqlite3.spec
23
sqlite3.spec
@ -35,10 +35,8 @@ BuildRequires: libtool
|
|||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
Requires: libsqlite3-0 = %{version}
|
|
||||||
Provides: %{oname} = %{version}
|
Provides: %{oname} = %{version}
|
||||||
Obsoletes: %{oname} < %{version}
|
Obsoletes: %{oname} < %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
SQLite is a C library that implements an embeddable SQL database
|
SQLite is a C library that implements an embeddable SQL database
|
||||||
@ -95,9 +93,7 @@ application which supports the Qt database plug-ins.
|
|||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{name}
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
%if 0%{?suse_version} >= 1130
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
|
|
||||||
@ -127,13 +123,14 @@ export CFLAGS="%{optflags} \
|
|||||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
|
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
|
||||||
-DSQLITE_SECURE_DELETE \
|
-DSQLITE_SECURE_DELETE \
|
||||||
"
|
"
|
||||||
%configure --disable-static \
|
%configure \
|
||||||
--disable-static-shell \
|
--disable-static \
|
||||||
--enable-readline
|
--disable-static-shell \
|
||||||
|
--enable-readline
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libsqlite3-0 -p /sbin/ldconfig
|
%post -n libsqlite3-0 -p /sbin/ldconfig
|
||||||
@ -142,16 +139,18 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/sqlite3
|
%{_bindir}/sqlite3
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/sqlite3.1%{ext_man}
|
||||||
|
|
||||||
%files -n libsqlite3-0
|
%files -n libsqlite3-0
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libsqlite*.so.*
|
%{_libdir}/libsqlite3.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/*.h
|
%{_includedir}/msvc.h
|
||||||
%{_libdir}/libsqlite*.so
|
%{_includedir}/sqlite3.h
|
||||||
|
%{_includedir}/sqlite3ext.h
|
||||||
|
%{_libdir}/libsqlite3.so
|
||||||
%{_libdir}/pkgconfig/sqlite3.pc
|
%{_libdir}/pkgconfig/sqlite3.pc
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
|
Loading…
Reference in New Issue
Block a user