Add requires on crontabs and mark cron job as config(noreplace)
This commit is contained in:
		
							parent
							
								
									9befd9083f
								
							
						
					
					
						commit
						c37706a4c7
					
				
							
								
								
									
										11
									
								
								man-db.spec
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								man-db.spec
									
									
									
									
									
								
							| @ -4,7 +4,7 @@ | |||||||
| Summary: Tools for searching and reading man pages | Summary: Tools for searching and reading man pages | ||||||
| Name: man-db | Name: man-db | ||||||
| Version: 2.6.5 | Version: 2.6.5 | ||||||
| Release: 2%{?dist} | Release: 3%{?dist} | ||||||
| # GPLv2+ .. man-db | # GPLv2+ .. man-db | ||||||
| # GPLv3+ .. gnulib | # GPLv3+ .. gnulib | ||||||
| License: GPLv2+ and GPLv3+ | License: GPLv2+ and GPLv3+ | ||||||
| @ -28,7 +28,7 @@ Provides: man-pages-reader = %{version} | |||||||
| # FPC exception for gnulib - copylib - https://fedorahosted.org/fpc/ticket/174 | # FPC exception for gnulib - copylib - https://fedorahosted.org/fpc/ticket/174 | ||||||
| Provides: bundled(gnulib) = %{gnulib_ver} | Provides: bundled(gnulib) = %{gnulib_ver} | ||||||
| 
 | 
 | ||||||
| Requires: coreutils, grep, groff-base, gzip, less | Requires: coreutils, grep, groff-base, gzip, less, crontabs | ||||||
| BuildRequires: gdbm-devel, gettext, groff, less, libpipeline-devel, zlib-devel | BuildRequires: gdbm-devel, gettext, groff, less, libpipeline-devel, zlib-devel | ||||||
| BuildRequires: po4a | BuildRequires: po4a | ||||||
| 
 | 
 | ||||||
| @ -88,7 +88,7 @@ install -D -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/man-db | |||||||
| %doc README man-db-manual.txt man-db-manual.ps docs/COPYING ChangeLog NEWS | %doc README man-db-manual.txt man-db-manual.ps docs/COPYING ChangeLog NEWS | ||||||
| %config(noreplace) %{_sysconfdir}/man_db.conf | %config(noreplace) %{_sysconfdir}/man_db.conf | ||||||
| %config(noreplace) %{_sysconfdir}/sysconfig/man-db | %config(noreplace) %{_sysconfdir}/sysconfig/man-db | ||||||
| %{_sysconfdir}/cron.daily/man-db.cron | %config(noreplace) %{_sysconfdir}/cron.daily/man-db.cron | ||||||
| %{_sbindir}/accessdb | %{_sbindir}/accessdb | ||||||
| %{_bindir}/man | %{_bindir}/man | ||||||
| %{_bindir}/whatis | %{_bindir}/whatis | ||||||
| @ -127,6 +127,11 @@ install -D -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/man-db | |||||||
| %lang(zh_CN)   %{_datadir}/man/zh_CN/man*/* | %lang(zh_CN)   %{_datadir}/man/zh_CN/man*/* | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Wed Aug 07 2013 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.6.5-3 | ||||||
|  | - Add a missing requirement on crontabs to spec file | ||||||
|  | - Mark the cron job as config(noreplace) | ||||||
|  | - Fix RHBZ#988609 | ||||||
|  | 
 | ||||||
| * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.5-2 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.5-2 | ||||||
| - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user