Compare commits

...

5 Commits

Author SHA1 Message Date
Petr Lautrbach 50e3dbc9ad Reset gitrev to abcdef 2015-11-03 18:11:47 +01:00
Petr Lautrbach efa5e686b3 libsepol-2.5-0.3.fc24.8dc4c05 - rebuild from 8dc4c05 2015-10-30 11:25:06 +01:00
Petr Lautrbach 7e208ef3a3 use %{gitrev} in release tag 2015-10-30 11:17:11 +01:00
Petr Lautrbach 6d2da9efa0 rebuild from a0e52def36fe9be55eece7c36c9c03ae957c1955 2015-10-27 21:32:09 +01:00
Petr Lautrbach a92decdb9c 2.5-0 2015-10-27 13:38:34 +01:00
1 changed files with 15 additions and 5 deletions

View File

@ -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