Drop unnecessary files in package
Resolves: RHEL-54049
This commit is contained in:
parent
39dd1ce9c2
commit
aac0bbe0ca
@ -18,7 +18,7 @@ Version: 2.0.5
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Name: fonts-rpm-macros
|
Name: fonts-rpm-macros
|
||||||
Release: 16%{?dist}
|
Release: 17%{?dist}
|
||||||
Summary: Build-stage rpm automation for fonts packages
|
Summary: Build-stage rpm automation for fonts packages
|
||||||
|
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
@ -103,11 +103,11 @@ for template in templates/rpm/*\.spec ; do
|
|||||||
grep -v '^%%dnl' "${template}" > "${target}"
|
grep -v '^%%dnl' "${template}" > "${target}"
|
||||||
touch -r "${template}" "${target}"
|
touch -r "${template}" "${target}"
|
||||||
done
|
done
|
||||||
%patch -P0 -p1 -b .0-omit-foundry-in-family
|
%patch -P0 -p1
|
||||||
%if 0%{?rhel} >= 10
|
%if 0%{?rhel} >= 10
|
||||||
%patch -P1 -p1 -b .1-drop-yaml
|
%patch -P1 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch -P2 -p1 -b .2-epoch-in-req
|
%patch -P2 -p1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -m 0755 -d %{buildroot}%{_fontbasedir} \
|
install -m 0755 -d %{buildroot}%{_fontbasedir} \
|
||||||
@ -137,7 +137,8 @@ install -m 0755 -vp bin/* %{buildroot}%{_bindir}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{_bindir}/*
|
%{_bindir}/fc-weight
|
||||||
|
%{_bindir}/gen-fontconf
|
||||||
%{rpmmacrodir}/macros.fonts-rpm*
|
%{rpmmacrodir}/macros.fonts-rpm*
|
||||||
%{_rpmluadir}/fedora/rpm/*.lua
|
%{_rpmluadir}/fedora/rpm/*.lua
|
||||||
|
|
||||||
@ -163,6 +164,11 @@ install -m 0755 -vp bin/* %{buildroot}%{_bindir}
|
|||||||
%doc %{ftcgtemplatedir}/*txt
|
%doc %{ftcgtemplatedir}/*txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 13 2024 Akira TAGOH <tagoh@redhat.com> - 1:2.0.5-17
|
||||||
|
- Add exact binary name in the file list.
|
||||||
|
- Do not package backup files.
|
||||||
|
Resolves: RHEL-54049
|
||||||
|
|
||||||
* Wed Jun 19 2024 Akira TAGOH <tagoh@redhat.com> - 1:2.0.5-16
|
* Wed Jun 19 2024 Akira TAGOH <tagoh@redhat.com> - 1:2.0.5-16
|
||||||
- Add %%{epoch} in Requires line if needed
|
- Add %%{epoch} in Requires line if needed
|
||||||
- Support fontpkgheader macro for meta packages.
|
- Support fontpkgheader macro for meta packages.
|
||||||
|
Loading…
Reference in New Issue
Block a user