]> git.pld-linux.org Git - packages/system-config-date.git/commitdiff
- works
authorPatryk Zawadzki <patrys@room-303.com>
Tue, 18 Dec 2007 13:03:57 +0000 (13:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    system-config-date.spec -> 1.8

system-config-date.spec

index 2f564e6e9cfe6b64b61efc04b836b82d4614eb87..f5415416ae717afe8cdcd01f04f5d07d1d0ec0c1 100644 (file)
@@ -23,6 +23,7 @@ Requires:     python-gnome-canvas
 Requires:      python-rhpl
 Requires:      python-snack
 #Requires:     usermode >= 1.36
+Requires:      tzdata
 Requires(post,postun): desktop-file-utils
 Conflicts:     firstboot <= 1.3.26
 BuildArch:     noarch
@@ -58,6 +59,15 @@ desktop-file-install --vendor system --delete-original \
 
 %find_lang %{name} --with-gnome --with-omf
 
+rm $RPM_BUILD_ROOT%{_bindir}/system-config-date
+cat > $RPM_BUILD_ROOT%{_bindir}/system-config-date << EOF
+#!/bin/sh
+/usr/bin/python /usr/share/system-config-date/system-config-date.pyc
+EOF
+
+ln -sf system-config-date $RPM_BUILD_ROOT%{_bindir}/dateconfig
+ln -sf system-config-date $RPM_BUILD_ROOT%{_bindir}/system-config-time
+
 %py_comp $RPM_BUILD_ROOT%{_datadir}/system-config-date
 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/system-config-date
 %py_postclean %{_datadir}/system-config-date
@@ -84,7 +94,6 @@ rm -rf $RPM_BUILD_ROOT
 %config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/dateconfig
 %config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/system-config-date
 %config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/system-config-time
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ntp/ntpservers
 %dir %{_datadir}/system-config-date
 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/system-config-date/ntp.template
 %{_datadir}/system-config-date/*.py[co]
This page took 0.072858 seconds and 4 git commands to generate.