Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d2cecc4422 | ||
|
|
4854678e03 | ||
|
|
8b069f1018 | ||
|
|
e6654f7b76 | ||
|
|
17a2b6d4ba |
3 changed files with 13 additions and 25 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: crontabs
|
||||
# $Id: Makefile,v 1.1 2004/09/09 03:58:16 cvsdist Exp $
|
||||
NAME := crontabs
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attempt a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
|
|
@ -1,9 +1,10 @@
|
|||
Summary: Root crontab files used to schedule the execution of programs
|
||||
Name: crontabs
|
||||
Version: 1.10
|
||||
Release: 31%{?dist}
|
||||
Release: 32%{?dist}
|
||||
License: Public Domain and GPLv2
|
||||
Group: System Environment/Base
|
||||
# no URL - it's only a one script which is used by different packages
|
||||
Source0: crontab
|
||||
Source1: run-parts
|
||||
Source2: crontabs.4
|
||||
|
|
@ -21,14 +22,19 @@ are scheduled, it executes them.
|
|||
Crontabs handles a basic system function, so it should be installed on
|
||||
your system.
|
||||
|
||||
%prep
|
||||
#empty
|
||||
%build
|
||||
#empty
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/cron.{hourly,daily,weekly,monthly}
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man4/
|
||||
install -m644 $RPM_SOURCE_DIR/crontab $RPM_BUILD_ROOT/etc/crontab
|
||||
install -m755 $RPM_SOURCE_DIR/run-parts $RPM_BUILD_ROOT/usr/bin/run-parts
|
||||
install -m644 $RPM_SOURCE_DIR/crontabs.4 $RPM_BUILD_ROOT/%{_mandir}/man4/
|
||||
install -m644 %SOURCE0 $RPM_BUILD_ROOT/etc/crontab
|
||||
install -m755 %SOURCE1 $RPM_BUILD_ROOT/usr/bin/run-parts
|
||||
install -m644 %SOURCE2 $RPM_BUILD_ROOT/%{_mandir}/man4/
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
|
@ -44,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%dir /etc/cron.monthly
|
||||
|
||||
%changelog
|
||||
* Mon Oct 12 2009 Marcela Mašláňová <mmaslano@redhat.com> 1.10-32
|
||||
- rebuilt for review
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-31
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue