Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
a0956bca33
commit
1eee30d43f
@ -4,7 +4,7 @@
|
|||||||
Summary: SELinux library and simple utilities
|
Summary: SELinux library and simple utilities
|
||||||
Name: libselinux
|
Name: libselinux
|
||||||
Version: 3.1
|
Version: 3.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
# https://github.com/SELinuxProject/selinux/wiki/Releases
|
# https://github.com/SELinuxProject/selinux/wiki/Releases
|
||||||
Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/libselinux-3.1.tar.gz
|
Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/libselinux-3.1.tar.gz
|
||||||
@ -117,12 +117,12 @@ BuildPythonWrapper() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
make clean
|
make clean
|
||||||
make LIBDIR="%{_libdir}" %{?_smp_mflags} swigify
|
%make_build LIBDIR="%{_libdir}" swigify
|
||||||
make LIBDIR="%{_libdir}" %{?_smp_mflags} all
|
%make_build LIBDIR="%{_libdir}" all
|
||||||
|
|
||||||
BuildPythonWrapper %{__python3}
|
BuildPythonWrapper %{__python3}
|
||||||
|
|
||||||
make RUBYINC="%{ruby_inc}" SHLIBDIR="%{_libdir}" LIBDIR="%{_libdir}" LIBSEPOLA="%{_libdir}/libsepol.a" %{?_smp_mflags} rubywrap
|
%make_build RUBYINC="%{ruby_inc}" SHLIBDIR="%{_libdir}" LIBDIR="%{_libdir}" LIBSEPOLA="%{_libdir}/libsepol.a" rubywrap
|
||||||
|
|
||||||
%install
|
%install
|
||||||
InstallPythonWrapper() {
|
InstallPythonWrapper() {
|
||||||
@ -226,6 +226,10 @@ rm -f %{buildroot}%{_mandir}/man8/togglesebool*
|
|||||||
%{ruby_vendorarchdir}/selinux.so
|
%{ruby_vendorarchdir}/selinux.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 3.1-2
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
* Fri Jul 10 2020 Petr Lautrbach <plautrba@redhat.com> - 3.1-1
|
* Fri Jul 10 2020 Petr Lautrbach <plautrba@redhat.com> - 3.1-1
|
||||||
- SELinux userspace 3.1 release
|
- SELinux userspace 3.1 release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user