[packages/snapmaker-luban] - BR rpmmacros with fixed check-shebang
baggins
baggins at pld-linux.org
Mon May 18 09:13:54 CEST 2020
commit 11fdeddadbafd457fa47c5abd6048296826b1bf2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon May 18 09:13:33 2020 +0200
- BR rpmmacros with fixed check-shebang
snapmaker-luban.spec | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/snapmaker-luban.spec b/snapmaker-luban.spec
index d920b55..b93a006 100644
--- a/snapmaker-luban.spec
+++ b/snapmaker-luban.spec
@@ -10,6 +10,7 @@ Source2: %{name}.desktop
Source3: %{name}.png
URL: https://snapmaker.com/
BuildRequires: ImageMagick
+BuildRequires: rpmbuild(macros) >= 1.747
Obsoletes: snapmakerjs
ExclusiveArch: %{x8664}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,9 +47,6 @@ done
cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_iconsdir}/hicolor/256x256/apps
-# _install_post_check_shebangs can't cope with filenames with spaces
-find $RPM_BUILD_ROOT -name "Apache License.txt" -print0 | xargs -0 %{__rm}
-
ls -1 locales | \
%{__sed} -e 's,^\([a-z][a-z]\)\.pak,%lang(\1) %{_libdir}/%{name}/locales/\1.pak,' \
-e 's,^\(zh\|pt\)\(-\)\([A-Z][A-Z]\)\.pak,%lang(\1_\3) %{_libdir}/%{name}/locales/\1-\3.pak,' \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/snapmaker-luban.git/commitdiff/11fdeddadbafd457fa47c5abd6048296826b1bf2
More information about the pld-cvs-commit
mailing list