- Remove the getpatches as it does not work at all, oracle
removed the pages - Use spec-cleaner - Fix stripped debuginfo to make sure we can debug with libdb - Remove the getpatches as it does not work at all, oracle removed the pages - Use spec-cleaner - Fix stripped debuginfo to make sure we can debug with libdb OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdb-4_8?expand=0&rev=57
This commit is contained in:
parent
b5e0746a9a
commit
207da735cb
10
getpatches
10
getpatches
@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
VERSION=4.8.30
|
||||
|
||||
if [ ! $DELETE = false ]
|
||||
then
|
||||
DELETE=true
|
||||
fi
|
||||
|
||||
wget http://www.oracle.com/technology/products/berkeley-db/db/update/$VERSION/patch.$VERSION.html -r -l1
|
||||
for file in `find www.oracle.com/ -name "patch\.*" | grep -v html`; do cp $file .; done
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 19 06:59:04 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Remove the getpatches as it does not work at all, oracle
|
||||
removed the pages
|
||||
- Use spec-cleaner
|
||||
- Fix stripped debuginfo to make sure we can debug with libdb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 20 12:41:18 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libdb-4_8
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -26,11 +26,10 @@ Release: 0
|
||||
Summary: Berkeley DB Database Library Version 4.8
|
||||
License: Sleepycat
|
||||
Group: System/Libraries
|
||||
Url: http://oracle.com/technetwork/products/berkeleydb/
|
||||
URL: https://oracle.com/technetwork/products/berkeleydb/
|
||||
Source: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
|
||||
Source1: %{name}.changes
|
||||
Source2: baselibs.conf
|
||||
Source9: getpatches
|
||||
Patch0: db-%{version}.patch
|
||||
# PATCH-FIX-OPENSUSE Fix build with GCC8, conflict with reserved builtin name
|
||||
Patch1: libdb-fix-atomic.patch
|
||||
@ -38,7 +37,6 @@ BuildRequires: autoconf
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
Provides: db = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
The Berkeley DB Database is a programmatic toolkit that provides
|
||||
@ -111,11 +109,13 @@ export CFLAGS CXXFLAGS CC
|
||||
#
|
||||
mkdir ../build_nptl
|
||||
cd ../build_nptl
|
||||
../dist/configure --prefix=%{_prefix} \
|
||||
--libdir=%{_libdir} --enable-compat185 --disable-dump185 \
|
||||
--enable-shared --disable-static --enable-cxx \
|
||||
%define _configure ../dist/configure
|
||||
%configure \
|
||||
--enable-compat185 --disable-dump185 \
|
||||
--enable-shared --disable-static \
|
||||
--enable-cxx \
|
||||
--with-mutex="POSIX/pthreads/library" \
|
||||
%ifarch %arm
|
||||
%ifarch %{arm}
|
||||
%{_target_cpu}-suse-linux-gnueabi
|
||||
%else
|
||||
%{_target_cpu}-suse-linux
|
||||
@ -133,7 +133,7 @@ make %{?_smp_mflags} LIBSO_LIBS='$(LIBS)' LIBXSO_LIBS='$(LIBS)'" -L%{_libdir} -l
|
||||
mkdir -p %{buildroot}%{_includedir}/db4
|
||||
mkdir -p %{buildroot}%{_libdir}
|
||||
cd build_nptl
|
||||
make prefix=%{buildroot}%{_prefix} libdir=%{buildroot}%{_libdir} strip=true install
|
||||
%make_install STRIP=true
|
||||
cd ..
|
||||
# make ldd happy:
|
||||
chmod 755 %{buildroot}%{_libdir}/libdb*.so
|
||||
@ -176,7 +176,6 @@ done
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post -n db48-utils
|
||||
for i in %{util_list}; do
|
||||
update-alternatives --install "%{_bindir}/db_$i" \
|
||||
@ -189,17 +188,15 @@ for i in %{util_list}; do
|
||||
done
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libdb-%{major}.%{minor}.so
|
||||
%{_libdir}/libdb_cxx-%{major}.%{minor}.so
|
||||
|
||||
%files -n db48-doc
|
||||
%defattr(-,root,root)
|
||||
%dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/LICENSE
|
||||
%license %{_docdir}/%{name}/LICENSE
|
||||
%doc %{_docdir}/%{name}/README
|
||||
%doc %{_docdir}/%{name}/index.html
|
||||
%doc %{_docdir}/%{name}/license
|
||||
%license %{_docdir}/%{name}/license
|
||||
%doc %{_docdir}/%{name}/articles
|
||||
%doc %{_docdir}/%{name}/api_reference
|
||||
%doc %{_docdir}/%{name}/examples_c
|
||||
@ -210,7 +207,6 @@ done
|
||||
%doc %{_docdir}/%{name}/tutorial
|
||||
|
||||
%files -n db48-utils
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/db48_*
|
||||
%ghost %{_sysconfdir}/alternatives/db_archive
|
||||
%ghost %{_sysconfdir}/alternatives/db_checkpoint
|
||||
@ -227,7 +223,6 @@ done
|
||||
%{_bindir}/db_*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/db4
|
||||
%{_includedir}/db.h
|
||||
%{_includedir}/db_185.h
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 19 06:59:04 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Remove the getpatches as it does not work at all, oracle
|
||||
removed the pages
|
||||
- Use spec-cleaner
|
||||
- Fix stripped debuginfo to make sure we can debug with libdb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 05:32:56 UTC 2018 - fstrba@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libdb_java-4_8
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -25,10 +25,9 @@ Release: 0
|
||||
Summary: Java Bindings for the Berkeley DB
|
||||
License: BSD-3-Clause
|
||||
Group: Productivity/Databases/Servers
|
||||
Url: http://oracle.com/technetwork/products/berkeleydb/
|
||||
URL: https://oracle.com/technetwork/products/berkeleydb/
|
||||
Source: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
|
||||
Source1: %{name}.changes
|
||||
Source9: getpatches
|
||||
Patch0: db-%{version}.patch
|
||||
# PATCH-FIX-OPENSUSE Fix compilation with Java 10 (10-internal)
|
||||
Patch1: libdb_java-4_8-fix-java10-comp.patch
|
||||
@ -41,7 +40,6 @@ BuildRequires: unzip
|
||||
Requires: libdb-%{major}_%{minor} = %{version}
|
||||
Conflicts: libdb_java-4_5
|
||||
Provides: db-java = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
These are the Java bindings for the Berkeley DB. They are needed for
|
||||
@ -83,12 +81,14 @@ export CFLAGS CXXFLAGS CC
|
||||
#
|
||||
mkdir ../build_nptl
|
||||
cd ../build_nptl
|
||||
../dist/configure --prefix=%{_prefix} \
|
||||
--libdir=%{_libdir} --enable-compat185 --disable-dump185 \
|
||||
--enable-shared --disable-static --enable-cxx \
|
||||
%define _configure ../dist/configure
|
||||
%configure \
|
||||
--enable-compat185 --disable-dump185 \
|
||||
--enable-shared --disable-static \
|
||||
--enable-cxx \
|
||||
--with-mutex="POSIX/pthreads/library" \
|
||||
--enable-java JAVACFLAGS="-source 1.6 -target 1.6" \
|
||||
%ifarch %arm
|
||||
%ifarch %{arm}
|
||||
%{_target_cpu}-suse-linux-gnueabi
|
||||
%else
|
||||
%{_target_cpu}-suse-linux
|
||||
@ -106,7 +106,7 @@ make %{?_smp_mflags} LIBSO_LIBS='$(LIBS)' LIBXSO_LIBS='$(LIBS)'" -L%{_libdir} -l
|
||||
mkdir -p %{buildroot}%{_includedir}/db4
|
||||
mkdir -p %{buildroot}%{_libdir}
|
||||
cd build_nptl
|
||||
make prefix=%{buildroot}%{_prefix} libdir=%{buildroot}%{_libdir} strip=true install
|
||||
%make_install STRIP=true
|
||||
cd ..
|
||||
# make ldd happy:
|
||||
chmod 755 %{buildroot}%{_libdir}/libdb*.so
|
||||
@ -148,12 +148,10 @@ ln -sf %{_javadir}/db-%{version}.jar %{buildroot}/%{_javadir}/db.jar
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_javadir}/*
|
||||
%{_libdir}/libdb_java-%{major}.%{minor}.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*_g.so
|
||||
%{_libdir}/libdb_java.so
|
||||
%{_libdir}/libdb_java-%{major}.so
|
||||
|
Loading…
Reference in New Issue
Block a user