Use make_build and make_install macros
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make https://docs.fedoraproject.org/en-US/packaging-guidelines/#_why_the_makeinstall_macro_should_not_be_used
This commit is contained in:
parent
4fc8cb289c
commit
3623ff0401
@ -1,7 +1,7 @@
|
||||
Summary: Utility to create fonts.scale files for truetype fonts
|
||||
Name: ttmkfdir
|
||||
Version: 3.0.9
|
||||
Release: 58%{?dist}
|
||||
Release: 59%{?dist}
|
||||
# Only licensing attribution is in README, no version.
|
||||
License: LGPLv2+
|
||||
# This is a Red Hat maintained package which is specific to
|
||||
@ -37,10 +37,10 @@ by the font server.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} OPTFLAGS="$RPM_OPT_FLAGS"
|
||||
%{make_build} OPTFLAGS="$RPM_OPT_FLAGS"
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT PREFIX="%{_prefix}" install INSTALL="install -p"
|
||||
%{make_install} PREFIX="%{_prefix}"
|
||||
mkdir -p %{buildroot}%{_mandir}/man1/
|
||||
cp -p %{SOURCE10} %{buildroot}%{_mandir}/man1/
|
||||
|
||||
@ -50,6 +50,11 @@ cp -p %{SOURCE10} %{buildroot}%{_mandir}/man1/
|
||||
%{_mandir}/man1/ttmkfdir.1*
|
||||
|
||||
%changelog
|
||||
* Mon Mar 16 2020 Tom Stellard <tstellar@redhat.com> - 3.0.9-59
|
||||
- Use make_build and make_install macros
|
||||
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
|
||||
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_why_the_makeinstall_macro_should_not_be_used
|
||||
|
||||
* Tue Jan 28 2020 Kalev Lember <klember@redhat.com> - 3.0.9-58
|
||||
- Avoid hardcoding /usr prefix
|
||||
- Use globs for man page compression
|
||||
|
Loading…
Reference in New Issue
Block a user