Modernize spec file macros

epel9
Benjamin A. Beasley 3 years ago
parent 01b41c4527
commit ed5f8a9786

@ -41,7 +41,7 @@ applications that use libfakekey.
%prep %prep
%setup -q %autosetup
%build %build
@ -49,15 +49,15 @@ applications that use libfakekey.
autoreconf -f -i -v autoreconf -f -i -v
%endif %endif
%configure --disable-static %configure --disable-static
make %{?_smp_mflags} AM_LDFLAGS=-lX11 %make_build AM_LDFLAGS="$(pkgconf --libs x11)"
%install %install
make install DESTDIR=$RPM_BUILD_ROOT %make_install
rm -f $RPM_BUILD_ROOT%{_libdir}/libfakekey.la rm -vf '%{buildroot}%{_libdir}/libfakekey.la'
%ldconfig_scriptlets %{?el7:%ldconfig_scriptlets}
%files %files
@ -78,7 +78,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libfakekey.la
- Add a build conditional for autoreconf - Add a build conditional for autoreconf
- Use pkgconfig(…) dependencies where appropriate - Use pkgconfig(…) dependencies where appropriate
- Upgrade source hash from MD5 to SHA-512 - Upgrade source hash from MD5 to SHA-512
- Reduce spec file macro indirection - Reduce spec file macro indirection and modernize macros
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-27 * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

Loading…
Cancel
Save