!38 enable fPIE and remove rpath
From: @zhangxianting Reviewed-by: @dwl301 Signed-off-by: @dwl301
This commit is contained in:
commit
044552ff80
14
mutter.spec
14
mutter.spec
@ -1,6 +1,8 @@
|
|||||||
|
%define chrpath_delete() (find $RPM_BUILD_ROOT/ -type f -exec file {} ';' | grep -w "ELF" | awk -F ':' '{print $1}' | xargs -i chrpath --delete {})
|
||||||
|
|
||||||
Name: mutter
|
Name: mutter
|
||||||
Version: 3.30.1
|
Version: 3.30.1
|
||||||
Release: 9
|
Release: 10
|
||||||
Summary: Window and compositing manager based on Clutter
|
Summary: Window and compositing manager based on Clutter
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://www.gnome.org
|
URL: https://www.gnome.org
|
||||||
@ -58,12 +60,14 @@ developing applications that use %{name}.
|
|||||||
%build
|
%build
|
||||||
autoreconf -if
|
autoreconf -if
|
||||||
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
|
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
|
||||||
%configure --enable-compile-warnings=maximum --enable-remote-desktop --enable-installed-tests --with-libwacom --enable-egl-device)
|
%configure --enable-compile-warnings=maximum --enable-remote-desktop --enable-installed-tests --with-libwacom --enable-egl-device CFLAGS="%{optflags} -fPIE -pie")
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
%chrpath_delete
|
||||||
|
|
||||||
%delete_la_and_a
|
%delete_la_and_a
|
||||||
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
@ -98,6 +102,12 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|||||||
%{_mandir}/man1/*.1.gz
|
%{_mandir}/man1/*.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 21 2023 zhangxianting <zhangxianting@uniontech.com> - 3.30.1.10
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:enable fPIE and remove rpath
|
||||||
|
|
||||||
* Tue Oct 13 2020 hanhui <hanhui15@huawei.com> - 3.30.1.9
|
* Tue Oct 13 2020 hanhui <hanhui15@huawei.com> - 3.30.1.9
|
||||||
- change mesa-libEGL-devel to libglvnd-devel in buildrequires
|
- change mesa-libEGL-devel to libglvnd-devel in buildrequires
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user