Merged fix warnings patch from Karl MacMillan.

Merged setrans client support from Dan Walsh. This removes use of
    libsetrans.
Merged patch to eliminate use of PAGE_SIZE constant from Dan Walsh.
Merged swig typemap fixes from Glauber de Oliveira Costa.
This commit is contained in:
Daniel J Walsh 2006-05-08 14:08:21 +00:00
parent a925159382
commit 98a597a060
4 changed files with 1044 additions and 23 deletions

View File

@ -79,3 +79,4 @@ libselinux-1.29.8.tgz
libselinux-1.30.tgz
libselinux-1.30.1.tgz
libselinux-1.30.3.tgz
libselinux-1.30.5.tgz

File diff suppressed because it is too large Load Diff

View File

@ -1,17 +1,14 @@
%define libsepolver 1.12-1
%define libsetransver 0.1.20-1
%define libsepolver 1.12.6-1
Summary: SELinux library and simple utilities
Name: libselinux
Version: 1.30.3
Release: 2
Version: 1.30.5
Release: 1
License: Public domain (uncopyrighted)
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
Patch: libselinux-rhat.patch
BuildRequires: libsepol-devel >= %{libsepolver}
Requires: libsepol >= %{libsepolver}
Requires: libsetrans >= %{libsetransver}
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
@ -51,7 +48,6 @@ needed for developing SELinux applications.
%prep
%setup -q
%patch -p1 -b .rhat
%build
make clean
@ -63,6 +59,8 @@ mkdir -p ${RPM_BUILD_ROOT}/%{_lib}
mkdir -p ${RPM_BUILD_ROOT}/%{_libdir}
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
mkdir -p ${RPM_BUILD_ROOT}/var/run/setrans
make DESTDIR="${RPM_BUILD_ROOT}" LIBDIR="${RPM_BUILD_ROOT}%{_libdir}" SHLIBDIR="${RPM_BUILD_ROOT}/%{_lib}" BINDIR="${RPM_BUILD_ROOT}%{_sbindir}" install install-pywrap
# Nuke the files we don't want to distribute
@ -97,6 +95,7 @@ exit 0
%{_libdir}/libselinux.so
%{_sbindir}/*
%{_mandir}/man8/*
/var/run/setrans
%files devel
%defattr(-,root,root)
@ -111,6 +110,16 @@ exit 0
%{_libdir}/python*/site-packages/selinux.py*
%changelog
* Mon May 8 2006 Dan Walsh <dwalsh@redhat.com> 1.30.5-1
* Merged fix warnings patch from Karl MacMillan.
* Merged setrans client support from Dan Walsh.
This removes use of libsetrans.
* Merged patch to eliminate use of PAGE_SIZE constant from Dan Walsh.
* Merged swig typemap fixes from Glauber de Oliveira Costa.
* Wed May 3 2006 Dan Walsh <dwalsh@redhat.com> 1.30.3-3
- Change the way translations work, Use setransd/remove libsetrans
* Tue May 2 2006 Dan Walsh <dwalsh@redhat.com> 1.30.3-2
- Add selinuxswig fixes
- Stop using PAGE_SIZE and start using sysconf(_SC_PAGE_SIZE)

View File

@ -1 +1 @@
70d1525b98d5906a9ac2566aeca7a65e libselinux-1.30.3.tgz
45c50620a9346d6d77f2a3229ffa26d2 libselinux-1.30.5.tgz