Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
17b322e82a
commit
0e48bc9d21
10
libdb.spec
10
libdb.spec
@ -5,7 +5,7 @@
|
|||||||
Summary: The Berkeley DB database library for C
|
Summary: The Berkeley DB database library for C
|
||||||
Name: libdb
|
Name: libdb
|
||||||
Version: 5.3.28
|
Version: 5.3.28
|
||||||
Release: 42%{?dist}
|
Release: 43%{?dist}
|
||||||
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
|
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
|
||||||
Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz
|
Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz
|
||||||
# For mt19937db.c
|
# For mt19937db.c
|
||||||
@ -265,7 +265,7 @@ perl -pi -e 's/^predep_objects=".*$/predep_objects=""/' libtool
|
|||||||
perl -pi -e 's/^postdep_objects=".*$/postdep_objects=""/' libtool
|
perl -pi -e 's/^postdep_objects=".*$/postdep_objects=""/' libtool
|
||||||
perl -pi -e 's/-shared -nostdlib/-shared/' libtool
|
perl -pi -e 's/-shared -nostdlib/-shared/' libtool
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
# Run some quick subsystem checks
|
# Run some quick subsystem checks
|
||||||
echo "source ../../test/tcl/test.tcl; r env; r mut; r memp" | tclsh
|
echo "source ../../test/tcl/test.tcl; r env; r mut; r memp" | tclsh
|
||||||
@ -277,7 +277,7 @@ mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
|
|||||||
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
|
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
||||||
|
|
||||||
%makeinstall STRIP=/bin/true -C dist/dist-tls
|
%make_install STRIP=/bin/true -C dist/dist-tls
|
||||||
|
|
||||||
# XXX Nuke non-versioned archives and symlinks
|
# XXX Nuke non-versioned archives and symlinks
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_libdir}/{libdb.a,libdb_cxx.a,libdb_tcl.a,libdb_sql.a}
|
rm -f ${RPM_BUILD_ROOT}%{_libdir}/{libdb.a,libdb_cxx.a,libdb_tcl.a,libdb_sql.a}
|
||||||
@ -383,6 +383,10 @@ mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1
|
|||||||
%{_includedir}/%{name}/dbsql.h
|
%{_includedir}/%{name}/dbsql.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 21 2020 Tom Stellard <tstellar@redhat.com> - 5.3.28-43
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
* Tue Jul 14 2020 Ondrej Dubaj <odubaj@redhat.com> - 5.3.28-42
|
* Tue Jul 14 2020 Ondrej Dubaj <odubaj@redhat.com> - 5.3.28-42
|
||||||
- Remove java subpackage due to jdk-11 (#1846398)
|
- Remove java subpackage due to jdk-11 (#1846398)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user