Browse code

Including /usr/lib/tmpfiles.d/sudo.conf from %files

Change-Id: I41f9500ad15b1e146c441949f779aadf552bf168
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3222
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Divya Thaluru <dthaluru@vmware.com>

changpil authored on 2017/07/12 10:05:12
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Sudo
2 2
 Name:           sudo
3 3
 Version:        1.8.20p2
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 License:        ISC
6 6
 URL:            https://www.sudo.ws/
7 7
 Group:          System Environment/Security
... ...
@@ -53,7 +53,8 @@ password   include      system-password
53 53
 session    include      system-session
54 54
 session    required     pam_env.so
55 55
 EOF
56
-
56
+mkdir -p %{buildroot}%{_libdir}/tmpfiles.d
57
+touch %{buildroot}%{_libdir}/tmpfiles.d/sudo.conf
57 58
 %find_lang %{name}
58 59
 %{_fixperms} %{buildroot}/*
59 60
 
... ...
@@ -85,9 +86,12 @@ rm -rf %{buildroot}/*
85 85
 %{_mandir}/man8/*
86 86
 %{_docdir}/%{name}-%{version}/*
87 87
 %{_datarootdir}/locale/*
88
+%attr(0644,root,root) %{_libdir}/tmpfiles.d/sudo.conf
88 89
 %exclude  /etc/sudoers.dist
89 90
 
90 91
 %changelog
92
+*   Fri Jul 07 2017 Chang Lee <changlee@vmware.com> 1.8.20p2-2
93
+-   Including /usr/lib/tmpfiles.d/sudo.conf from %files
91 94
 *   Thu Jun 15 2017 Kumar Kaushik <kaushikk@vmware.com> 1.8.20p2-1
92 95
 -   Udating version to 1.8.20p2, fixing CVE-2017-1000367 and CVE-2017-1000368
93 96
 *   Wed Apr 12 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.8.19p2-1