- Fix build on Factory:
kitty does not properly separate build and install. We used to do both in the %build section. Since rpm 4.16 cleans the buildroot is cleaned before %install. So now we run build/install in the %install section OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=70
This commit is contained in:
parent
1d3879148c
commit
f450608b06
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 16 12:04:31 UTC 2021 - Michael Vetter <mvetter@suse.com>
|
||||||
|
|
||||||
|
- Fix build on Factory:
|
||||||
|
kitty does not properly separate build and install. We used to
|
||||||
|
do both in the %build section. Since rpm 4.16 cleans the buildroot
|
||||||
|
is cleaned before %install. So now we run build/install in the
|
||||||
|
%install section
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 28 12:21:25 UTC 2020 - Michael Vetter <mvetter@suse.com>
|
Mon Dec 28 12:21:25 UTC 2020 - Michael Vetter <mvetter@suse.com>
|
||||||
|
|
||||||
|
@ -69,13 +69,11 @@ bracketed paste and so on, and which can be controlled by scripts.
|
|||||||
find . -type f -exec sed -i 's@#!%{_bindir}/env python3$@#!%{_bindir}/python3@' {} +
|
find . -type f -exec sed -i 's@#!%{_bindir}/env python3$@#!%{_bindir}/python3@' {} +
|
||||||
find . -type f -exec sed -i 's@#!%{_bindir}/env python$@#!%{_bindir}/python@' {} +
|
find . -type f -exec sed -i 's@#!%{_bindir}/env python$@#!%{_bindir}/python@' {} +
|
||||||
|
|
||||||
%build
|
|
||||||
#tic -x -o/tmp/tmpWhatever terminfo/kitty.terminfo
|
|
||||||
python3 setup.py --verbose linux-package --prefix %{buildroot}%{_prefix}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# yes they have a makefile, no they dont use it properly
|
# yes they have a makefile, no they dont use it properly
|
||||||
# no they dont have a make install
|
# no they dont have a make install
|
||||||
|
# we used to have this in the build section but since rpm 4.16 buildroot is cleaned
|
||||||
|
python3 setup.py --verbose linux-package --prefix %{buildroot}%{_prefix}
|
||||||
|
|
||||||
%fdupes %{buildroot}%{_prefix}/lib
|
%fdupes %{buildroot}%{_prefix}/lib
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user