]>
Commit | Line | Data |
---|---|---|
ce14e998 | 1 | # |
e5a8c0d8 | 2 | # Conditional build: |
49caa03e | 3 | %bcond_without kerberos5 # Kerberos V support via heimdal |
ffa39469 | 4 | %bcond_without prelude # prelude audisp plugin |
49caa03e JB |
5 | %bcond_without golang # Go language bindings |
6 | %bcond_without python # Python bindings | |
2d0ad02a | 7 | %bcond_without python3 # Python3 bindings |
49caa03e | 8 | %bcond_without zos_remote # zos-remote audisp plugin (LDAP dep) |
f99a4738 JR |
9 | |
10 | %ifnarch %{ix86} %{x8664} %{arm} | |
11 | %undefine with_golang | |
12 | %endif | |
13 | ||
54697230 | 14 | Summary: User space tools for 2.6 kernel auditing |
7f0a1e1e | 15 | Summary(pl.UTF-8): Narzędzia przestrzeni użytkownika do audytu jąder 2.6 |
54697230 | 16 | Name: audit |
2d0ad02a | 17 | Version: 2.4.3 |
4e090414 | 18 | Release: 1 |
ab8f94cb | 19 | License: GPL v2+ |
54697230 JB |
20 | Group: Daemons |
21 | Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz | |
2d0ad02a | 22 | # Source0-md5: 544d863af2016b76afd8d1691b251164 |
de2a21fd JB |
23 | Source2: %{name}d.init |
24 | Source3: %{name}d.sysconfig | |
80475ae6 | 25 | Patch0: %{name}-install.patch |
b0722891 | 26 | Patch1: %{name}-m4.patch |
61d763d9 | 27 | Patch2: %{name}-nolibs.patch |
220b3c30 | 28 | Patch3: %{name}-no_zos_remote.patch |
ffa39469 | 29 | Patch4: %{name}-systemd-notonly.patch |
0bd7ba4a | 30 | Patch5: %{name}-am.patch |
738da8d6 JR |
31 | Patch6: %{name}-no-refusemanualstop.patch |
32 | Patch7: %{name}-cronjob.patch | |
23c6312b | 33 | Patch8: golang-paths.patch |
816d3bb0 AM |
34 | # https://fedorahosted.org/fesco/ticket/1311 |
35 | Patch9: never-audit.patch | |
54697230 JB |
36 | URL: http://people.redhat.com/sgrubb/audit/ |
37 | BuildRequires: autoconf >= 2.59 | |
10583781 | 38 | BuildRequires: automake >= 1:1.9 |
10583781 | 39 | BuildRequires: glibc-headers >= 6:2.3.6 |
49caa03e | 40 | %{?with_golang:BuildRequires: golang} |
220b3c30 | 41 | %{?with_kerberos5:BuildRequires: heimdal-devel} |
693afa1c | 42 | BuildRequires: libcap-ng-devel |
526a1f46 | 43 | %{?with_prelude:BuildRequires: libprelude-devel} |
54697230 | 44 | BuildRequires: libtool |
61d763d9 | 45 | BuildRequires: libwrap-devel |
d80f3483 | 46 | BuildRequires: linux-libc-headers >= 7:2.6.30 |
220b3c30 | 47 | %{?with_zos_remote:BuildRequires: openldap-devel} |
57f09668 | 48 | %if %{with python} |
84214962 | 49 | BuildRequires: python-devel >= 1:2.5 |
9ee6c1ce | 50 | BuildRequires: rpm-pythonprov |
7e695d35 | 51 | BuildRequires: swig-python |
57f09668 | 52 | %endif |
2d0ad02a JR |
53 | %if %{with python3} |
54 | BuildRequires: python3-devel | |
55 | BuildRequires: rpm-pythonprov | |
56 | BuildRequires: swig-python | |
57 | %endif | |
9a3b9076 | 58 | BuildRequires: rpmbuild(macros) >= 1.623 |
ab8f94cb | 59 | BuildRequires: sed >= 4.0 |
54697230 | 60 | Requires(post,preun): /sbin/chkconfig |
195529ba | 61 | Requires(post,preun,postun): systemd-units >= 38 |
54697230 | 62 | Requires: %{name}-libs = %{version}-%{release} |
96102055 | 63 | Requires: rc-scripts |
195529ba | 64 | Requires: systemd-units >= 38 |
526a1f46 | 65 | Obsoletes: audit-audispd-plugins |
7ede5762 | 66 | Obsoletes: audit-systemd |
54697230 JB |
67 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
68 | ||
69 | %define _sbindir /sbin | |
ab8f94cb JB |
70 | # use /lib, because this path is put in /usr/share/.../settings.py |
71 | %define _libexecdir %{_prefix}/lib | |
54697230 JB |
72 | |
73 | %description | |
74 | The audit package contains the user space utilities for storing and | |
75 | processing the audit records generate by the audit subsystem in the | |
76 | Linux 2.6 kernel. | |
77 | ||
b27e8f95 JR |
78 | %description -l pl.UTF-8 |
79 | Ten pakiet zawiera narzędzia przestrzeni użytkownika do przechowywania | |
80 | i przetwarzania rekordów audytu generowanych przez podsystem audytu w | |
81 | jądrach Linuksa 2.6. | |
54697230 JB |
82 | |
83 | %package libs | |
5a56b716 | 84 | Summary: Dynamic audit libraries |
7f0a1e1e | 85 | Summary(pl.UTF-8): Biblioteki dynamiczne audit |
ab8f94cb | 86 | License: LGPL v2.1+ |
54697230 JB |
87 | Group: Libraries |
88 | ||
89 | %description libs | |
5a56b716 | 90 | The audit-libs package contains the dynamic libraries needed for |
54697230 JB |
91 | applications to use the audit framework. |
92 | ||
b27e8f95 | 93 | %description libs -l pl.UTF-8 |
5a56b716 | 94 | Ten pakiet zawiera biblioteki dynamiczne potrzebne dla aplikacji |
b27e8f95 | 95 | używających środowiska audytu. |
54697230 JB |
96 | |
97 | %package libs-devel | |
5a56b716 | 98 | Summary: Header files for audit libraries |
7f0a1e1e | 99 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek audit |
ab8f94cb | 100 | License: LGPL v2.1+ |
54697230 JB |
101 | Group: Development/Libraries |
102 | Requires: %{name}-libs = %{version}-%{release} | |
d80f3483 | 103 | Requires: linux-libc-headers >= 7:2.6.30 |
54697230 JB |
104 | |
105 | %description libs-devel | |
106 | The audit-libs-devel package contains the header files needed for | |
107 | developing applications that need to use the audit framework library. | |
108 | ||
b27e8f95 JR |
109 | %description libs-devel -l pl.UTF-8 |
110 | Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia aplikacji | |
111 | używających biblioteki środowiska audytu. | |
54697230 JB |
112 | |
113 | %package libs-static | |
5a56b716 | 114 | Summary: Static audit libraries |
7f0a1e1e | 115 | Summary(pl.UTF-8): Statyczne biblioteki audit |
ab8f94cb | 116 | License: LGPL v2.1+ |
54697230 JB |
117 | Group: Development/Libraries |
118 | Requires: %{name}-libs-devel = %{version}-%{release} | |
119 | ||
120 | %description libs-static | |
5a56b716 JB |
121 | The audit-libs-static package contains the static libraries for |
122 | developing applications that need to use the audit framework. | |
54697230 | 123 | |
b27e8f95 | 124 | %description libs-static -l pl.UTF-8 |
5a56b716 | 125 | Ten pakiet zawiera statyczne biblioteki do tworzenia aplikacji |
b27e8f95 | 126 | używających środowiska audytu. |
54697230 | 127 | |
526a1f46 JB |
128 | %package plugin-prelude |
129 | Summary: prelude plugin for audispd | |
130 | Summary(pl.UTF-8): Wtyczka prelude dla audispd | |
131 | Group: Daemons | |
132 | Requires: %{name} = %{version}-%{release} | |
133 | ||
134 | %description plugin-prelude | |
135 | audisp-prelude is a plugin for the audit event dispatcher daemon, | |
136 | audispd, that uses libprelude to send IDMEF alerts for possible | |
137 | Intrusion Detection events. | |
138 | ||
139 | %description plugin-prelude -l pl.UTF-8 | |
140 | audisp-prelude to wtyczka demona audispd przekazującego zdarzenia | |
141 | audytowe wykorzystująca libprelude do wysyłania alarmów IDMEF o | |
142 | prawdopodobnych zdarzeniach IDS. | |
143 | ||
49caa03e JB |
144 | %package -n golang-audit |
145 | Summary: Go language interface to libaudit library | |
146 | Summary(pl.UTF-8): Interfejs języka Go do biblioteki libaudit | |
147 | License: LGPL v2.1+ | |
148 | Group: Development/Languages | |
149 | Requires: %{name}-libs = %{version}-%{release} | |
150 | Requires: golang | |
151 | ||
152 | %description -n golang-audit | |
153 | Go language interface to libaudit library. | |
154 | ||
155 | %description -n golang-audit -l pl.UTF-8 | |
156 | Interfejs języka Go do biblioteki libaudit. | |
157 | ||
9ee6c1ce JB |
158 | %package -n python-audit |
159 | Summary: Python interface to libaudit library | |
7f0a1e1e | 160 | Summary(pl.UTF-8): Pythonowy interfejs do biblioteki libaudit |
ab8f94cb | 161 | License: LGPL v2.1+ |
9ee6c1ce JB |
162 | Group: Libraries/Python |
163 | Requires: %{name}-libs = %{version}-%{release} | |
164 | ||
165 | %description -n python-audit | |
166 | Python interface to libaudit library. | |
167 | ||
b27e8f95 | 168 | %description -n python-audit -l pl.UTF-8 |
9ee6c1ce JB |
169 | Pythonowy interfejs do biblioteki libaudit. |
170 | ||
2d0ad02a JR |
171 | %package -n python3-audit |
172 | Summary: Python interface to libaudit library | |
173 | Summary(pl.UTF-8): Pythonowy interfejs do biblioteki libaudit | |
174 | License: LGPL v2.1+ | |
175 | Group: Libraries/Python | |
176 | Requires: %{name}-libs = %{version}-%{release} | |
177 | ||
178 | %description -n python3-audit | |
179 | Python interface to libaudit library. | |
180 | ||
181 | %description -n python3-audit -l pl.UTF-8 | |
182 | Pythonowy interfejs do biblioteki libaudit. | |
183 | ||
54697230 JB |
184 | %prep |
185 | %setup -q | |
eb9b3ab9 | 186 | %patch0 -p1 |
1e78f2d9 | 187 | %patch1 -p1 |
61d763d9 | 188 | %patch2 -p1 |
220b3c30 | 189 | %{!?with_zos_remote:%patch3 -p1} |
ffa39469 | 190 | %patch4 -p1 |
0bd7ba4a | 191 | %patch5 -p1 |
738da8d6 JR |
192 | %patch6 -p1 |
193 | %patch7 -p1 | |
23c6312b | 194 | %patch8 -p1 |
816d3bb0 | 195 | %patch9 -p1 |
1a8b063a | 196 | |
68d62ac9 | 197 | %if %{without python} |
b89f6d79 | 198 | sed 's#swig/Makefile ##' -i configure.ac |
9d3991e5 | 199 | sed 's/swig//' -i Makefile.am |
57f09668 | 200 | %endif |
201 | ||
54697230 JB |
202 | %build |
203 | %{__libtoolize} | |
204 | %{__aclocal} | |
205 | %{__autoconf} | |
206 | %{__autoheader} | |
207 | %{__automake} | |
cc094a3e | 208 | %configure \ |
220b3c30 | 209 | %{?with_kerberos5:--enable-gssapi-krb5} \ |
ffa39469 | 210 | --enable-systemd \ |
61d763d9 JB |
211 | --with-apparmor \ |
212 | --with-libwrap \ | |
526a1f46 | 213 | %{?with_prelude:--with-prelude} |
54697230 | 214 | |
738da8d6 | 215 | %{__make} |
bf2e6acc | 216 | |
54697230 JB |
217 | %install |
218 | rm -rf $RPM_BUILD_ROOT | |
219 | install -d $RPM_BUILD_ROOT%{_var}/log/audit | |
220 | ||
221 | %{__make} install \ | |
222 | DESTDIR=$RPM_BUILD_ROOT | |
223 | ||
738da8d6 JR |
224 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/auditd |
225 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/auditd | |
bf2e6acc | 226 | |
54697230 JB |
227 | install -d $RPM_BUILD_ROOT/%{_lib} |
228 | mv -f $RPM_BUILD_ROOT%{_libdir}/libaudit.so.* $RPM_BUILD_ROOT/%{_lib} | |
fef538cf | 229 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libaudit.so.*.*.*) \ |
1a8b063a | 230 | $RPM_BUILD_ROOT%{_libdir}/libaudit.so |
8ba70267 | 231 | mv -f $RPM_BUILD_ROOT%{_libdir}/libauparse.so.* $RPM_BUILD_ROOT/%{_lib} |
fef538cf | 232 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libauparse.so.*.*.*) \ |
8ba70267 | 233 | $RPM_BUILD_ROOT%{_libdir}/libauparse.so |
54697230 | 234 | |
738da8d6 JR |
235 | # RH initscripts-specific |
236 | %{__rm} -r $RPM_BUILD_ROOT%{_libexecdir}/initscripts | |
6c98eb8c | 237 | |
57f09668 | 238 | %if %{with python} |
68d62ac9 JB |
239 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} |
240 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} | |
738da8d6 | 241 | %py_postclean |
68d62ac9 | 242 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a} |
57f09668 | 243 | %endif |
9ee6c1ce | 244 | |
2d0ad02a JR |
245 | %if %{with python} |
246 | %{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/*.{la,a} | |
247 | %endif | |
248 | ||
54697230 JB |
249 | %clean |
250 | rm -rf $RPM_BUILD_ROOT | |
251 | ||
252 | %post libs -p /sbin/ldconfig | |
253 | %postun libs -p /sbin/ldconfig | |
254 | ||
255 | %post | |
738da8d6 JR |
256 | # Copy default rules into place on new installation |
257 | if [ ! -e %{_sysconfdir}/audit/audit.rules ] ; then | |
258 | cp -a %{_sysconfdir}/audit/rules.d/audit.rules %{_sysconfdir}/audit/audit.rules | |
259 | fi | |
54697230 | 260 | /sbin/chkconfig --add auditd |
2a6b8c9c | 261 | %service auditd restart "audit daemon" |
7ede5762 | 262 | %systemd_post auditd.service |
54697230 JB |
263 | |
264 | %preun | |
265 | if [ "$1" = "0" ]; then | |
2a6b8c9c | 266 | %service auditd stop |
54697230 JB |
267 | /sbin/chkconfig --del auditd |
268 | fi | |
9a3b9076 BZ |
269 | %systemd_preun auditd.service |
270 | ||
7ede5762 JR |
271 | %postun |
272 | %systemd_reload | |
273 | ||
274 | %triggerpostun -- %{name} < 2.2-2 | |
275 | %systemd_trigger auditd.service | |
9a3b9076 | 276 | |
738da8d6 JR |
277 | %triggerpostun -- %{name} < 2.3-1 |
278 | if [ -e %{_sysconfdir}/audit/audit.rules.rpmsave ] ; then | |
279 | %{__mv} %{_sysconfdir}/audit/audit.rules{.rpmsave,} | |
280 | fi | |
f5eaf0b6 JR |
281 | %service auditd restart "audit daemon" |
282 | %systemd_post auditd.service | |
738da8d6 | 283 | |
54697230 JB |
284 | %files |
285 | %defattr(644,root,root,755) | |
bd0730be | 286 | %doc AUTHORS ChangeLog README THANKS TODO |
738da8d6 | 287 | %doc contrib/{capp,nispom,lspp,stig}.rules init.d/auditd.cron |
2bfdaebd | 288 | %attr(750,root,root) %{_bindir}/aulast |
08b12da9 JB |
289 | %attr(750,root,root) %{_bindir}/aulastlog |
290 | %attr(750,root,root) %{_bindir}/ausyscall | |
d80f3483 | 291 | %attr(750,root,root) %{_bindir}/auvirt |
80475ae6 | 292 | %attr(750,root,root) %{_sbindir}/audispd |
54697230 JB |
293 | %attr(750,root,root) %{_sbindir}/auditctl |
294 | %attr(750,root,root) %{_sbindir}/auditd | |
896d27e1 | 295 | %attr(750,root,root) %{_sbindir}/augenrules |
e5a8c0d8 | 296 | %attr(750,root,root) %{_sbindir}/aureport |
54697230 JB |
297 | %attr(750,root,root) %{_sbindir}/ausearch |
298 | %attr(750,root,root) %{_sbindir}/autrace | |
08b12da9 | 299 | %attr(755,root,root) %{_sbindir}/audisp-remote |
ffa39469 | 300 | %{?with_zos_remote:%attr(755,root,root) %{_sbindir}/audispd-zos-remote} |
0a348a92 JB |
301 | %dir %{_sysconfdir}/audisp |
302 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/audisp/audispd.conf | |
08b12da9 | 303 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/audisp/audisp-remote.conf |
ffa39469 | 304 | %{?with_zos_remote:%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/audisp/zos-remote.conf} |
0a348a92 JB |
305 | %dir %{_sysconfdir}/audisp/plugins.d |
306 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/audisp/plugins.d/af_unix.conf | |
08b12da9 | 307 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/audisp/plugins.d/au-remote.conf |
ffa39469 | 308 | %{?with_zos_remote:%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/audisp/plugins.d/audispd-zos-remote.conf} |
0a348a92 | 309 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/audisp/plugins.d/syslog.conf |
7630c8d3 JB |
310 | %dir %{_sysconfdir}/audit |
311 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/audit/auditd.conf | |
896d27e1 AZ |
312 | %dir %{_sysconfdir}/audit/rules.d |
313 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/audit/rules.d/audit.rules | |
80475ae6 | 314 | %attr(754,root,root) /etc/rc.d/init.d/auditd |
f6ae0a53 | 315 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/auditd |
7ede5762 | 316 | %{systemdunitdir}/auditd.service |
54697230 | 317 | %attr(750,root,root) %dir %{_var}/log/audit |
0a348a92 | 318 | %{_mandir}/man5/audispd.conf.5* |
08b12da9 | 319 | %{_mandir}/man5/audisp-remote.conf.5* |
80475ae6 | 320 | %{_mandir}/man5/auditd.conf.5* |
526a1f46 | 321 | %{_mandir}/man5/ausearch-expression.5* |
ffa39469 | 322 | %{?with_zos_remote:%{_mandir}/man5/zos-remote.conf.5*} |
693afa1c | 323 | %{_mandir}/man7/audit.rules.7* |
08b12da9 | 324 | %{_mandir}/man8/audisp-remote.8* |
ffa39469 | 325 | %{?with_zos_remote:%{_mandir}/man8/audispd-zos-remote.8*} |
526a1f46 JB |
326 | %{_mandir}/man8/audispd.8* |
327 | %{_mandir}/man8/auditctl.8* | |
328 | %{_mandir}/man8/auditd.8* | |
896d27e1 | 329 | %{_mandir}/man8/augenrules.8* |
2bfdaebd | 330 | %{_mandir}/man8/aulast.8* |
526a1f46 JB |
331 | %{_mandir}/man8/aulastlog.8* |
332 | %{_mandir}/man8/aureport.8* | |
333 | %{_mandir}/man8/ausearch.8* | |
08b12da9 | 334 | %{_mandir}/man8/ausyscall.8* |
526a1f46 | 335 | %{_mandir}/man8/autrace.8* |
d80f3483 | 336 | %{_mandir}/man8/auvirt.8* |
54697230 JB |
337 | |
338 | %files libs | |
339 | %defattr(644,root,root,755) | |
340 | %attr(755,root,root) /%{_lib}/libaudit.so.*.*.* | |
82313177 | 341 | %attr(755,root,root) %ghost /%{_lib}/libaudit.so.1 |
8ba70267 | 342 | %attr(755,root,root) /%{_lib}/libauparse.so.*.*.* |
fef538cf | 343 | %attr(755,root,root) %ghost /%{_lib}/libauparse.so.0 |
7630c8d3 | 344 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libaudit.conf |
693afa1c | 345 | %{_mandir}/man5/libaudit.conf.5* |
54697230 JB |
346 | |
347 | %files libs-devel | |
348 | %defattr(644,root,root,755) | |
349 | %attr(755,root,root) %{_libdir}/libaudit.so | |
8ba70267 | 350 | %attr(755,root,root) %{_libdir}/libauparse.so |
54697230 | 351 | %{_libdir}/libaudit.la |
8ba70267 | 352 | %{_libdir}/libauparse.la |
6d3a6f20 | 353 | %{_includedir}/auparse*.h |
54697230 | 354 | %{_includedir}/libaudit.h |
49caa03e | 355 | %{_pkgconfigdir}/audit.pc |
2d0ad02a | 356 | %{_pkgconfigdir}/auparse.pc |
526a1f46 JB |
357 | %{_mandir}/man3/audit_*.3* |
358 | %{_mandir}/man3/auparse_*.3* | |
359 | %{_mandir}/man3/ausearch_*.3* | |
360 | %{_mandir}/man3/get_auditfail_action.3* | |
361 | %{_mandir}/man3/set_aumessage_mode.3* | |
54697230 JB |
362 | |
363 | %files libs-static | |
364 | %defattr(644,root,root,755) | |
365 | %{_libdir}/libaudit.a | |
8ba70267 | 366 | %{_libdir}/libauparse.a |
9ee6c1ce | 367 | |
526a1f46 JB |
368 | %if %{with prelude} |
369 | %files plugin-prelude | |
370 | %defattr(644,root,root,755) | |
371 | %attr(755,root,root) %{_sbindir}/audisp-prelude | |
372 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/audisp/audisp-prelude.conf | |
373 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/audisp/plugins.d/au-prelude.conf | |
374 | %{_mandir}/man5/audisp-prelude.conf.5* | |
375 | %{_mandir}/man8/audisp-prelude.8* | |
376 | %endif | |
377 | ||
49caa03e JB |
378 | %if %{with golang} |
379 | %files -n golang-audit | |
380 | %defattr(644,root,root,755) | |
2d0ad02a JR |
381 | %dir %{_libdir}/golang/src/redhat.com |
382 | %{_libdir}/golang/src/redhat.com/audit | |
49caa03e JB |
383 | %endif |
384 | ||
57f09668 | 385 | %if %{with python} |
9ee6c1ce JB |
386 | %files -n python-audit |
387 | %defattr(644,root,root,755) | |
388 | %attr(755,root,root) %{py_sitedir}/_audit.so | |
84214962 | 389 | %attr(755,root,root) %{py_sitedir}/auparse.so |
4c11c375 | 390 | %{py_sitedir}/audit.py[co] |
57f09668 | 391 | %endif |
2d0ad02a JR |
392 | |
393 | %if %{with python3} | |
394 | %files -n python3-audit | |
395 | %defattr(644,root,root,755) | |
396 | %attr(755,root,root) %{py3_sitedir}/_audit.so | |
397 | %attr(755,root,root) %{py3_sitedir}/auparse.so | |
398 | %{py3_sitedir}/audit.py | |
399 | %endif |