auto-import libselinux-1.17.8-2 from libselinux-1.17.8-2.src.rpm
This commit is contained in:
parent
f453bd1f3d
commit
1591c8d77a
@ -1,13 +1,12 @@
|
||||
Summary: SELinux library and simple utilities
|
||||
Name: libselinux
|
||||
Version: 1.17.8
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: Public domain (uncopyrighted)
|
||||
Group: System Environment/Libraries
|
||||
Source: http://www.nsa.gov/selinux/archives/libselinux-%{version}.tgz
|
||||
#Patch: libselinux-rhat.patch
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-buildroot
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||
Provides: libselinux.so
|
||||
|
||||
%description
|
||||
@ -37,6 +36,7 @@ needed for developing SELinux applications.
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch -p1 -b .rhat
|
||||
|
||||
%build
|
||||
make CFLAGS="%{optflags}"
|
||||
|
||||
@ -52,7 +52,9 @@ make DESTDIR="${RPM_BUILD_ROOT}" LIBDIR="${RPM_BUILD_ROOT}%{_libdir}" SHLIBDIR="
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%post
|
||||
# add libselinux to the cache
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files devel
|
||||
@ -60,16 +62,20 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_libdir}/libselinux.a
|
||||
%{_libdir}/libselinux.so
|
||||
%dir %{_includedir}/selinux
|
||||
%{_includedir}/selinux/*.h
|
||||
%{_includedir}/selinux/
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/%{_lib}/libselinux.so.1
|
||||
%defattr(-,root,root,0755)
|
||||
/%{_lib}/libselinux.so.*
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Thu Sep 2 2004 Dan Walsh <dwalsh@redhat.com> 1.17.8-2
|
||||
- Clean up spec file
|
||||
* Patch from Matthias Saou
|
||||
|
||||
* Thu Sep 2 2004 Dan Walsh <dwalsh@redhat.com> 1.17.8-1
|
||||
- Update from NSA
|
||||
* Added set_matchpathcon_printf.
|
||||
|
Loading…
Reference in New Issue
Block a user