Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
771098949a
commit
28bb1bb597
@ -3,7 +3,7 @@
|
||||
Summary: A privileged helper for utmp/wtmp updates
|
||||
Name: libutempter
|
||||
Version: 1.2.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: LGPLv2+
|
||||
URL: ftp://ftp.altlinux.org/pub/people/ldv/utempter
|
||||
|
||||
@ -35,7 +35,7 @@ make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" \
|
||||
libdir="%{_libdir}" libexecdir="%{_libexecdir}"
|
||||
|
||||
%install
|
||||
make install DESTDIR="$RPM_BUILD_ROOT" libdir="%{_libdir}" libexecdir="%{_libexecdir}"
|
||||
%make_install libdir="%{_libdir}" libexecdir="%{_libexecdir}"
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
|
||||
@ -61,6 +61,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 13 2020 Tomas Korbar <tkorbar@redhat.com> - 1.2.1-3
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user