Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
c7e70973ac
commit
42e23c3cb9
@ -1,7 +1,7 @@
|
|||||||
Summary: A straightforward implementation of DBM
|
Summary: A straightforward implementation of DBM
|
||||||
Name: kyotocabinet
|
Name: kyotocabinet
|
||||||
Version: 1.2.77
|
Version: 1.2.77
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
URL: https://fallabs.com/%{name}/
|
URL: https://fallabs.com/%{name}/
|
||||||
Source: https://fallabs.com/%{name}/pkg/%{name}-%{version}.tar.gz
|
Source: https://fallabs.com/%{name}/pkg/%{name}-%{version}.tar.gz
|
||||||
@ -54,10 +54,10 @@ applications that use Kyoto Cabinet.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-opt --enable-lzo --enable-lzma
|
%configure --disable-opt --enable-lzo --enable-lzma
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
|
%make_install
|
||||||
|
|
||||||
# Don't install any static .a file
|
# Don't install any static .a file
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libkyotocabinet.a
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libkyotocabinet.a
|
||||||
@ -140,6 +140,10 @@ make check
|
|||||||
%doc COPYING doc/api/* kyotocabinet.idl
|
%doc COPYING doc/api/* kyotocabinet.idl
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 1.2.77-4
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.77-3
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.77-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user