summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2014-05-14 13:07:51 (GMT)
committerElan Ruusamäe2014-05-14 13:07:51 (GMT)
commitd9f7b58d53fa1720a35ee32c994b836ece084142 (patch)
tree6f8282f380df68625eb366407eb83f7fc877be52
parentd88a50809cae3e4b1ffd31f2becab2b2bfb1e214 (diff)
downloaduucp-d9f7b58d53fa1720a35ee32c994b836ece084142.zip
uucp-d9f7b58d53fa1720a35ee32c994b836ece084142.tar.gz
- suggest/require crondaemon
- release 7 (by relup.sh)
-rw-r--r--uucp.spec13
1 files changed, 7 insertions, 6 deletions
diff --git a/uucp.spec b/uucp.spec
index 3f1ce66..53438c6 100644
--- a/uucp.spec
+++ b/uucp.spec
@@ -9,10 +9,10 @@ Summary(tr.UTF-8): GNU uucp sistemi
Summary(uk.UTF-8): GNU uucp
Name: uucp
Version: 1.07
-Release: 6
+Release: 7
License: GPL
Group: Networking
-Source0: ftp://ftp.gnu.org/pub/gnu/uucp/%{name}-%{version}.tar.gz
+Source0: http://ftp.gnu.org/gnu/uucp/%{name}-%{version}.tar.gz
# Source0-md5: 64c54d43787339a7cced48390eb3e1d0
Source1: %{name}.logrotate
Source2: %{name}.inetd
@@ -29,6 +29,7 @@ BuildRequires: autoconf
BuildRequires: automake
BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: texinfo
+Requires: crondaemon
Conflicts: logrotate < 3.8.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -131,9 +132,9 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/uucp/oldconfig
DESTDIR=$RPM_BUILD_ROOT \
OWNER=$(id -u)
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/uucp
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/uucp
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.d/uucp
+cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/uucp
+cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/uucp
+cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.d/uucp
bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
# Create empty files
@@ -141,7 +142,7 @@ for n in Log Stats Debug; do
touch $RPM_BUILD_ROOT/var/log/uucp/$n
done
-for i in dial passwd port dialcode sys call ; do
+for i in dial passwd port dialcode sys call; do
cat > $RPM_BUILD_ROOT%{_sysconfdir}/uucp/$i <<EOF
# This is an example of a $i file. This file have the syntax compatible
# with Taylor UUCP (not HDB, not anything else). Please check uucp