- Use upstream tarball
- Cleanup a bit with spec-cleaner - remove unused script check-build.sh - Use upstream tarball - Cleanup with spec-cleaner - remove unused script check-build.sh OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdb-4_8?expand=0&rev=42
This commit is contained in:
parent
a0bc8915cd
commit
7a98e64ffe
@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# Copyright (c) 2004 SuSE Linux AG, Germany. All rights reserved.
|
|
||||||
#
|
|
||||||
|
|
||||||
# get kernel version
|
|
||||||
OFS="$IFS" ; IFS=".-" ; version=(`uname -r`) ; IFS="$OIFS"
|
|
||||||
echo "version = ${version[0]} ${version[1]} ${version[2]}"
|
|
||||||
if test ${version[0]} -gt 2 ; then
|
|
||||||
: # okay
|
|
||||||
elif test ${version[0]} -lt 2 -o ${version[1]} -lt 6 -o ${version[2]} -lt 4 ; then
|
|
||||||
echo "FATAL: kernel too old, need kernel >= 2.6.4 for this package" 1>&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2ba998b7451758928011878514c78b8a6f0fbfd49ebf5cc9f4269f4666414ab4
|
|
||||||
size 19969243
|
|
BIN
db-4.8.30.tar.gz
(Stored with Git LFS)
Normal file
BIN
db-4.8.30.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 31 09:50:39 UTC 2016 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Use upstream tarball
|
||||||
|
- Cleanup a bit with spec-cleaner
|
||||||
|
- remove unused script check-build.sh
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 12 08:52:48 UTC 2014 - schwab@suse.de
|
Mon May 12 08:52:48 UTC 2014 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libdb-4_8
|
# spec file for package libdb-4_8
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,11 +16,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define util_list archive checkpoint deadlock dump hotbackup load printlog recover sql stat upgrade verify
|
||||||
%define generic_name db
|
%define generic_name db
|
||||||
%define docdir %{_defaultdocdir}/%{name}
|
|
||||||
%define major 4
|
%define major 4
|
||||||
%define minor 8
|
%define minor 8
|
||||||
|
|
||||||
Name: libdb-4_8
|
Name: libdb-4_8
|
||||||
Version: %{major}.%{minor}.30
|
Version: %{major}.%{minor}.30
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -28,9 +27,9 @@ Summary: Berkeley DB Database Library Version 4.8
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://oracle.com/technetwork/products/berkeleydb/
|
Url: http://oracle.com/technetwork/products/berkeleydb/
|
||||||
|
Source: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
|
||||||
Source: db-%{version}.tar.bz2
|
|
||||||
Source1: %{name}.changes
|
Source1: %{name}.changes
|
||||||
|
Source2: baselibs.conf
|
||||||
Source9: getpatches
|
Source9: getpatches
|
||||||
Patch0: db-%{version}.patch
|
Patch0: db-%{version}.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
@ -38,10 +37,6 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
Provides: db = %{version}
|
Provides: db = %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# bug437293
|
|
||||||
%ifarch ppc64
|
|
||||||
Obsoletes: db-64bit
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Berkeley DB Database is a programmatic toolkit that provides
|
The Berkeley DB Database is a programmatic toolkit that provides
|
||||||
@ -52,9 +47,9 @@ This package contains the necessary runtime libraries.
|
|||||||
%package -n db48-utils
|
%package -n db48-utils
|
||||||
Summary: Command Line tools for Managing Berkeley DB Databases
|
Summary: Command Line tools for Managing Berkeley DB Databases
|
||||||
Group: Productivity/Databases/Tools
|
Group: Productivity/Databases/Tools
|
||||||
|
Requires(post): update-alternatives
|
||||||
Provides: db-utils = %{version}
|
Provides: db-utils = %{version}
|
||||||
Obsoletes: db-utils < %{version}
|
Obsoletes: db-utils < %{version}
|
||||||
PreReq: update-alternatives
|
|
||||||
|
|
||||||
%description -n db48-utils
|
%description -n db48-utils
|
||||||
The Berkeley DB Database is a programmatic toolkit that provides
|
The Berkeley DB Database is a programmatic toolkit that provides
|
||||||
@ -101,8 +96,8 @@ This package contains the header files and libraries.
|
|||||||
cd dist
|
cd dist
|
||||||
# dist/RELEASE codes the build date into the binary.
|
# dist/RELEASE codes the build date into the binary.
|
||||||
# Use last change of changes file instead
|
# Use last change of changes file instead
|
||||||
LAST_MOD=`stat --format="%Y" %SOURCE1`
|
LAST_MOD=`stat --format="%%Y" %{SOURCE1}`
|
||||||
DIST_DATE=`date '+%B %e, %Y' --date="@$LAST_MOD"`
|
DIST_DATE=`date '+%%B %%e, %%Y' --date="@$LAST_MOD"`
|
||||||
sed -i -e "s/^DB_RELEASE_DATE=.*$/DB_RELEASE_DATE=\"$DIST_DATE\"/" RELEASE
|
sed -i -e "s/^DB_RELEASE_DATE=.*$/DB_RELEASE_DATE=\"$DIST_DATE\"/" RELEASE
|
||||||
./s_config
|
./s_config
|
||||||
CFLAGS="%{optflags} -fno-strict-aliasing"
|
CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
@ -148,50 +143,46 @@ echo "#include <db4/db_cxx.h>" > %{buildroot}%{_includedir}/db_cxx.h
|
|||||||
rm -f examples_cxx/tags
|
rm -f examples_cxx/tags
|
||||||
rm -f examples_c/tags
|
rm -f examples_c/tags
|
||||||
# Move documentation to the right directory
|
# Move documentation to the right directory
|
||||||
mkdir -p %{buildroot}%{docdir}
|
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||||
mv %{buildroot}%{_prefix}/docs/* %{buildroot}/%{docdir}
|
mv %{buildroot}%{_prefix}/docs/* %{buildroot}/%{_docdir}/%{name}
|
||||||
cp -a examples_cxx examples_c %{buildroot}/%{docdir}
|
cp -a examples_cxx examples_c %{buildroot}/%{_docdir}/%{name}
|
||||||
cp -a LICENSE README %{buildroot}/%{docdir}
|
cp -a LICENSE README %{buildroot}/%{_docdir}/%{name}
|
||||||
#
|
|
||||||
# Remove api documentation for C++, Java and TCL
|
# Remove api documentation for C++, Java and TCL
|
||||||
rm -rf %{buildroot}/%{docdir}/csharp
|
rm -rf %{buildroot}/%{_docdir}/%{name}/csharp
|
||||||
rm -rf %{buildroot}/%{docdir}/java
|
rm -rf %{buildroot}/%{_docdir}/%{name}/java
|
||||||
rm -rf %{buildroot}/%{docdir}/api_reference/CXX
|
rm -rf %{buildroot}/%{_docdir}/%{name}/api_reference/CXX
|
||||||
rm -rf %{buildroot}/%{docdir}/api_reference/STL
|
rm -rf %{buildroot}/%{_docdir}/%{name}/api_reference/STL
|
||||||
rm -rf %{buildroot}/%{docdir}/api_reference/TCL
|
rm -rf %{buildroot}/%{_docdir}/%{name}/api_reference/TCL
|
||||||
rm -rf %{buildroot}/%{docdir}/gsg*/CXX
|
rm -rf %{buildroot}/%{_docdir}/%{name}/gsg*/CXX
|
||||||
rm -rf %{buildroot}/%{docdir}/gsg*/JAVA
|
rm -rf %{buildroot}/%{_docdir}/%{name}/gsg*/JAVA
|
||||||
mv %{buildroot}/%{docdir}/collections/tutorial %{buildroot}/%{docdir}/
|
mv %{buildroot}/%{_docdir}/%{name}/collections/tutorial %{buildroot}/%{_docdir}/%{name}/
|
||||||
# Remove crappy *.la files
|
# Remove crappy *.la files
|
||||||
rm -rf %{buildroot}%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
rm -rf %{buildroot}%{_libdir}/tls/*.la
|
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||||
|
|
||||||
%define util_list archive checkpoint deadlock dump hotbackup load printlog recover sql stat upgrade verify
|
for i in %{util_list}; do
|
||||||
for i in %util_list; do
|
|
||||||
# dummy
|
# dummy
|
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives/
|
||||||
touch "%{buildroot}%{_sysconfdir}/alternatives/db_$i"
|
touch "%{buildroot}%{_sysconfdir}/alternatives/db_$i"
|
||||||
mv "%buildroot/%_bindir/db_$i" "%buildroot/%_bindir/db48_$i"
|
mv "%{buildroot}/%{_bindir}/db_$i" "%{buildroot}/%{_bindir}/db48_$i"
|
||||||
ln -s "%{_sysconfdir}/alternatives/db_$i" "%{buildroot}%_bindir/db_$i"
|
ln -s "%{_sysconfdir}/alternatives/db_$i" "%{buildroot}%{_bindir}/db_$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
%fdupes %{buildroot}%{_libdir}
|
%fdupes -s %{buildroot}
|
||||||
%fdupes %{buildroot}%{docdir}
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n db48-utils
|
%post -n db48-utils
|
||||||
for i in %util_list; do
|
for i in %{util_list}; do
|
||||||
"%_sbindir/update-alternatives" --install "%_bindir/db_$i" \
|
update-alternatives --install "%{_bindir}/db_$i" \
|
||||||
"db_$i" "%_bindir/db48_$i" 48
|
"db_$i" "%{_bindir}/db48_$i" 48
|
||||||
done
|
done
|
||||||
|
|
||||||
%postun -n db48-utils
|
%postun -n db48-utils
|
||||||
for i in %util_list; do
|
for i in %{util_list}; do
|
||||||
"%_sbindir/update-alternatives" --remove "db_$i" "%_bindir/db_$i"
|
update-alternatives --remove "db_$i" "%{_bindir}/db_$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -201,23 +192,23 @@ done
|
|||||||
|
|
||||||
%files -n db48-doc
|
%files -n db48-doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{docdir}
|
%dir %{_docdir}/%{name}
|
||||||
%doc %{docdir}/LICENSE
|
%doc %{_docdir}/%{name}/LICENSE
|
||||||
%doc %{docdir}/README
|
%doc %{_docdir}/%{name}/README
|
||||||
%doc %{docdir}/index.html
|
%doc %{_docdir}/%{name}/index.html
|
||||||
%doc %{docdir}/license
|
%doc %{_docdir}/%{name}/license
|
||||||
%doc %{docdir}/articles
|
%doc %{_docdir}/%{name}/articles
|
||||||
%doc %{docdir}/api_reference
|
%doc %{_docdir}/%{name}/api_reference
|
||||||
%doc %{docdir}/examples_c
|
%doc %{_docdir}/%{name}/examples_c
|
||||||
%doc %{docdir}/examples_cxx
|
%doc %{_docdir}/%{name}/examples_cxx
|
||||||
%doc %{docdir}/gsg*
|
%doc %{_docdir}/%{name}/gsg*
|
||||||
%doc %{docdir}/porting
|
%doc %{_docdir}/%{name}/porting
|
||||||
%doc %{docdir}/programmer_reference
|
%doc %{_docdir}/%{name}/programmer_reference
|
||||||
%doc %{docdir}/tutorial
|
%doc %{_docdir}/%{name}/tutorial
|
||||||
|
|
||||||
%files -n db48-utils
|
%files -n db48-utils
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_bindir/db48_*
|
%{_bindir}/db48_*
|
||||||
%ghost %{_sysconfdir}/alternatives/db_archive
|
%ghost %{_sysconfdir}/alternatives/db_archive
|
||||||
%ghost %{_sysconfdir}/alternatives/db_checkpoint
|
%ghost %{_sysconfdir}/alternatives/db_checkpoint
|
||||||
%ghost %{_sysconfdir}/alternatives/db_deadlock
|
%ghost %{_sysconfdir}/alternatives/db_deadlock
|
||||||
@ -230,7 +221,7 @@ done
|
|||||||
%ghost %{_sysconfdir}/alternatives/db_stat
|
%ghost %{_sysconfdir}/alternatives/db_stat
|
||||||
%ghost %{_sysconfdir}/alternatives/db_upgrade
|
%ghost %{_sysconfdir}/alternatives/db_upgrade
|
||||||
%ghost %{_sysconfdir}/alternatives/db_verify
|
%ghost %{_sysconfdir}/alternatives/db_verify
|
||||||
%_bindir/db_*
|
%{_bindir}/db_*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 31 09:50:54 UTC 2016 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Use upstream tarball
|
||||||
|
- Cleanup with spec-cleaner
|
||||||
|
- remove unused script check-build.sh
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 12 08:52:48 UTC 2014 - schwab@suse.de
|
Mon May 12 08:52:48 UTC 2014 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libdb_java-4_8
|
# spec file for package libdb_java-4_8
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,10 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%define generic_name db
|
%define generic_name db
|
||||||
%define docdir %{_defaultdocdir}/%{name}
|
|
||||||
%define major 4
|
%define major 4
|
||||||
%define minor 8
|
%define minor 8
|
||||||
|
|
||||||
Name: libdb_java-4_8
|
Name: libdb_java-4_8
|
||||||
Version: %{major}.%{minor}.30
|
Version: %{major}.%{minor}.30
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -28,8 +26,7 @@ Summary: Java Bindings for the Berkeley DB
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/Databases/Servers
|
Group: Productivity/Databases/Servers
|
||||||
Url: http://oracle.com/technetwork/products/berkeleydb/
|
Url: http://oracle.com/technetwork/products/berkeleydb/
|
||||||
|
Source: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
|
||||||
Source: db-%{version}.tar.bz2
|
|
||||||
Source1: %{name}.changes
|
Source1: %{name}.changes
|
||||||
Source9: getpatches
|
Source9: getpatches
|
||||||
Patch0: db-%{version}.patch
|
Patch0: db-%{version}.patch
|
||||||
@ -39,9 +36,9 @@ BuildRequires: java-sdk >= 1.5
|
|||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
BuildRequires: update-alternatives
|
BuildRequires: update-alternatives
|
||||||
Requires: libdb-%{major}_%{minor} = %{version}
|
Requires: libdb-%{major}_%{minor} = %{version}
|
||||||
|
Conflicts: libdb_java-4_5
|
||||||
Provides: db-java = %{version}
|
Provides: db-java = %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Conflicts: libdb_java-4_5
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
These are the Java bindings for the Berkeley DB. They are needed for
|
These are the Java bindings for the Berkeley DB. They are needed for
|
||||||
@ -52,8 +49,8 @@ Summary: Java Bindings for the Berkeley DB
|
|||||||
Group: Productivity/Databases/Servers
|
Group: Productivity/Databases/Servers
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Provides: db-java-devel = %{version}
|
|
||||||
Conflicts: libdb_java-4_5-devel
|
Conflicts: libdb_java-4_5-devel
|
||||||
|
Provides: db-java-devel = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
These are the Java bindings for the Berkeley DB. They are needed for
|
These are the Java bindings for the Berkeley DB. They are needed for
|
||||||
@ -69,8 +66,8 @@ These are the development files.
|
|||||||
cd dist
|
cd dist
|
||||||
# dist/RELEASE codes the build date into the binary.
|
# dist/RELEASE codes the build date into the binary.
|
||||||
# Use last change of changes file instead
|
# Use last change of changes file instead
|
||||||
LAST_MOD=`stat --format="%Y" %SOURCE1`
|
LAST_MOD=`stat --format="%%Y" %{SOURCE1}`
|
||||||
DIST_DATE=`date '+%B %e, %Y' --date="@$LAST_MOD"`
|
DIST_DATE=`date '+%%B %%e, %%Y' --date="@$LAST_MOD"`
|
||||||
sed -i -e "s/^DB_RELEASE_DATE=.*$/DB_RELEASE_DATE=\"$DIST_DATE\"/" RELEASE
|
sed -i -e "s/^DB_RELEASE_DATE=.*$/DB_RELEASE_DATE=\"$DIST_DATE\"/" RELEASE
|
||||||
./s_config
|
./s_config
|
||||||
CFLAGS="%{optflags} -fno-strict-aliasing"
|
CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
@ -117,23 +114,21 @@ echo "#include <db4/db_cxx.h>" > %{buildroot}%{_includedir}/db_cxx.h
|
|||||||
rm -f examples_cxx/tags
|
rm -f examples_cxx/tags
|
||||||
rm -f examples_c/tags
|
rm -f examples_c/tags
|
||||||
# Move documentation to the right directory
|
# Move documentation to the right directory
|
||||||
mkdir -p %{buildroot}%{docdir}
|
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||||
mv %{buildroot}%{_prefix}/docs/* %{buildroot}/%{docdir}
|
mv %{buildroot}%{_prefix}/docs/* %{buildroot}/%{_docdir}/%{name}
|
||||||
cp -a examples_cxx examples_c %{buildroot}/%{docdir}
|
cp -a examples_cxx examples_c %{buildroot}/%{_docdir}/%{name}
|
||||||
cp -a LICENSE README %{buildroot}/%{docdir}
|
cp -a LICENSE README %{buildroot}/%{_docdir}/%{name}
|
||||||
#
|
|
||||||
# Remove api documentation for C++, Java and TCL
|
# Remove api documentation for C++, Java and TCL
|
||||||
rm -rf %{buildroot}/%{docdir}/csharp
|
rm -rf %{buildroot}/%{_docdir}/%{name}/csharp
|
||||||
rm -rf %{buildroot}/%{docdir}/java
|
rm -rf %{buildroot}/%{_docdir}/%{name}/java
|
||||||
rm -rf %{buildroot}/%{docdir}/api_reference/CXX
|
rm -rf %{buildroot}/%{_docdir}/%{name}/api_reference/CXX
|
||||||
rm -rf %{buildroot}/%{docdir}/api_reference/STL
|
rm -rf %{buildroot}/%{_docdir}/%{name}/api_reference/STL
|
||||||
rm -rf %{buildroot}/%{docdir}/api_reference/TCL
|
rm -rf %{buildroot}/%{_docdir}/%{name}/api_reference/TCL
|
||||||
rm -rf %{buildroot}/%{docdir}/gsg*/CXX
|
rm -rf %{buildroot}/%{_docdir}/%{name}/gsg*/CXX
|
||||||
rm -rf %{buildroot}/%{docdir}/gsg*/JAVA
|
rm -rf %{buildroot}/%{_docdir}/%{name}/gsg*/JAVA
|
||||||
mv %{buildroot}/%{docdir}/collections/tutorial %{buildroot}/%{docdir}/
|
mv %{buildroot}/%{_docdir}/%{name}/collections/tutorial %{buildroot}/%{_docdir}/%{name}/
|
||||||
# Remove crappy *.la files
|
# Remove crappy *.la files
|
||||||
rm -rf %{buildroot}%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
rm -rf %{buildroot}%{_libdir}/tls/*.la
|
|
||||||
pushd %{buildroot}
|
pushd %{buildroot}
|
||||||
for file in `find | grep -v "\(java\|jar\)"`
|
for file in `find | grep -v "\(java\|jar\)"`
|
||||||
do
|
do
|
||||||
@ -145,7 +140,6 @@ mv %{buildroot}/%{_libdir}/*.jar %{buildroot}/%{_javadir}/db-%{version}.jar
|
|||||||
ln -sf %{_javadir}/db-%{version}.jar %{buildroot}/%{_javadir}/db.jar
|
ln -sf %{_javadir}/db-%{version}.jar %{buildroot}/%{_javadir}/db.jar
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
Reference in New Issue
Block a user