From 1591c8d77aec53525295c260985a7b6cd6603bc7 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 07:45:58 +0000 Subject: auto-import libselinux-1.17.8-2 from libselinux-1.17.8-2.src.rpm --- diff --git a/libselinux.spec b/libselinux.spec index faed13a..65c7e45 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -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 1.17.8-2 +- Clean up spec file + * Patch from Matthias Saou + * Thu Sep 2 2004 Dan Walsh 1.17.8-1 - Update from NSA * Added set_matchpathcon_printf.