]> git.pld-linux.org Git - packages/snapmaker-luban.git/commitdiff
- BR rpmmacros with fixed check-shebang
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 18 May 2020 07:13:33 +0000 (09:13 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 18 May 2020 07:13:33 +0000 (09:13 +0200)
snapmaker-luban.spec

index d920b551e18e3c0740d11fe268af512cc8583733..b93a0065f08ccb9e96096bf9c0ad7c1d22f55f28 100644 (file)
@@ -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,' \
This page took 0.119773 seconds and 4 git commands to generate.