Use %%make_build, %%make_install and %%autosetup macros
This commit is contained in:
parent
5ab2a1f7d3
commit
4bbb581d15
@ -70,17 +70,15 @@ This package contains cryptsetup-reencrypt utility which
|
||||
can be used for offline reencryption of disk in situ.
|
||||
|
||||
%prep
|
||||
%setup -q -n cryptsetup-%{upstream_version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%autosetup -n cryptsetup-%{upstream_version} -p 1
|
||||
chmod -x misc/dracut_90reencrypt/*
|
||||
|
||||
%build
|
||||
%configure --enable-fips --enable-pwquality --enable-libargon2
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
rm -rf %{buildroot}/%{_libdir}/*.la
|
||||
|
||||
%find_lang cryptsetup
|
||||
@ -129,6 +127,7 @@ rm -rf %{buildroot}/%{_libdir}/*.la
|
||||
%changelog
|
||||
* Tue Apr 14 2020 Björn Esser <besser82@fedoraproject.org> - 2.3.1-2
|
||||
- Add support for upcoming json-c 0.14.0
|
||||
- Use %%make_build, %%make_install and %%autosetup macros
|
||||
|
||||
* Thu Mar 12 2020 Ondrej Kozina <okozina@redhat.com> - 2.3.1-1
|
||||
- Update to cryptsetup 2.3.1.
|
||||
|
Loading…
Reference in New Issue
Block a user