Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
ac53ea06ad
commit
a21276aead
10
parted.spec
10
parted.spec
@ -4,7 +4,7 @@
|
||||
Summary: The GNU disk partition manipulation program
|
||||
Name: parted
|
||||
Version: 3.3
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv3+
|
||||
URL: http://www.gnu.org/software/parted
|
||||
|
||||
@ -87,12 +87,12 @@ CFLAGS="$RPM_OPT_FLAGS -Wno-unused-but-set-variable"; export CFLAGS
|
||||
# Don't use rpath!
|
||||
%{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
%{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
V=1 %{__make} %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%{__rm} -rf %{buildroot}
|
||||
%{__make} install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
|
||||
# Remove components we do not ship
|
||||
%{__rm} -rf %{buildroot}%{_libdir}/*.la
|
||||
@ -131,6 +131,10 @@ make check
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 3.3-4
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Fri Mar 06 2020 Brian C. Lane <bcl@redhat.com> - 3.3-3
|
||||
- Add chromeos_kernel partition flag for gpt disklabels
|
||||
- Add bls_boot partition flag for msdos and gpt disklabels
|
||||
|
Loading…
Reference in New Issue
Block a user