Compare commits
5 Commits
master
...
private-up
Author | SHA1 | Date |
---|---|---|
Petr Lautrbach | 50e3dbc9ad | |
Petr Lautrbach | efa5e686b3 | |
Petr Lautrbach | 7e208ef3a3 | |
Petr Lautrbach | 6d2da9efa0 | |
Petr Lautrbach | a92decdb9c |
|
@ -1,12 +1,16 @@
|
|||
%global gitrev abcdef
|
||||
|
||||
Summary: SELinux binary policy manipulation library
|
||||
Name: libsepol
|
||||
Version: 2.4
|
||||
Release: 2%{?dist}
|
||||
Version: 2.5
|
||||
Release: 0.3%{?dist}.%{gitrev}
|
||||
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/libsepol-%{version}.tar.gz
|
||||
Source: libsepol-%{version}-%{gitrev}.tar.gz
|
||||
URL: https://github.com/SELinuxProject/selinux/wiki
|
||||
BuildRequires: flex
|
||||
BuildRequires: pcre-devel
|
||||
|
||||
%description
|
||||
Security-enhanced Linux is a feature of the Linux® kernel and a number
|
||||
|
@ -43,7 +47,7 @@ The libsepol-static package contains the static libraries and header files
|
|||
needed for developing applications that manipulate binary policies.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n libsepol
|
||||
|
||||
# sparc64 is an -fPIC arch, so we need to fix it here
|
||||
%ifarch sparc64
|
||||
|
@ -51,7 +55,7 @@ sed -i 's/fpic/fPIC/g' src/Makefile
|
|||
%endif
|
||||
|
||||
%build
|
||||
make clean
|
||||
# make clean
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}"
|
||||
|
||||
%install
|
||||
|
@ -101,6 +105,12 @@ exit 0
|
|||
%{_libdir}/libsepol.so.1
|
||||
|
||||
%changelog
|
||||
* Fri Oct 30 2015 Petr Lautrbach <plautrba@redhat.com> - 2.5-0.3.a0e52de
|
||||
- build from 8dc4c05b7906326c32fe28dd091e5173fb0249be
|
||||
|
||||
* Tue Oct 27 2015 Petr Lautrbach <plautrba@redhat.com> - 2.5-0.2
|
||||
- build from a0e52def36fe9be55eece7c36c9c03ae957c1955
|
||||
|
||||
* Fri Aug 14 2015 Adam Jackson <ajax@redhat.com> 2.4-2
|
||||
- Pass ldflags to make so hardening works
|
||||
|
||||
|
|
Loading…
Reference in New Issue