units.spec: use %make_build and %make_install RPM macros
No change in behavior expected with this commit.
This commit is contained in:
parent
494095d7c0
commit
6869b51de8
@ -1,7 +1,7 @@
|
||||
Summary: A utility for converting amounts from one unit to another
|
||||
Name: units
|
||||
Version: 2.22
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Source: https://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
|
||||
URL: https://www.gnu.org/software/units/units.html
|
||||
License: GPLv3+
|
||||
@ -32,10 +32,10 @@ autoreconf -fiv
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
|
||||
# remove %%{buildroot} from the target of an absolute symlink
|
||||
ln -fsv %{_sharedstatedir}/units/currency.units %{buildroot}%{_datadir}/units
|
||||
@ -58,6 +58,9 @@ make check
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 06 2022 Kamil Dudka <kdudka@redhat.com> - 2.22-2
|
||||
- use %%make_build and %%make_install RPM macros
|
||||
|
||||
* Tue Sep 06 2022 Kamil Dudka <kdudka@redhat.com> - 2.22-1
|
||||
- new upstream release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user