rpms/syslog-ng/FC-5 .cvsignore, 1.6, 1.7 sources, 1.6, 1.7 syslog-ng.spec, 1.13, 1.14
Jose Pedro Oliveira (jpo)
fedora-extras-commits at redhat.com
Tue Feb 6 21:08:06 UTC 2007
- Previous message (by thread): rpms/syslog-ng/devel .cvsignore, 1.6, 1.7 sources, 1.6, 1.7 syslog-ng.spec, 1.16, 1.17
- Next message (by thread): rpms/syslog-ng/FC-6 .cvsignore, 1.6, 1.7 sources, 1.6, 1.7 syslog-ng.spec, 1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jpo
Update of /cvs/extras/rpms/syslog-ng/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28611/FC-5
Modified Files:
.cvsignore sources syslog-ng.spec
Log Message:
Update to 1.6.12.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/syslog-ng/FC-5/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore 6 May 2006 12:52:49 -0000 1.6
+++ .cvsignore 6 Feb 2007 21:07:34 -0000 1.7
@@ -1 +1 @@
-syslog-ng-1.6.11.tar.gz
+syslog-ng-1.6.12.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/syslog-ng/FC-5/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources 6 May 2006 12:52:49 -0000 1.6
+++ sources 6 Feb 2007 21:07:34 -0000 1.7
@@ -1 +1 @@
-8f9ca6140f428dc9adec9fa1c270a2dd syslog-ng-1.6.11.tar.gz
+a3cbfdb6e1e5beea181a7349749719f3 syslog-ng-1.6.12.tar.gz
Index: syslog-ng.spec
===================================================================
RCS file: /cvs/extras/rpms/syslog-ng/FC-5/syslog-ng.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- syslog-ng.spec 6 May 2006 12:52:49 -0000 1.13
+++ syslog-ng.spec 6 Feb 2007 21:07:34 -0000 1.14
@@ -12,7 +12,7 @@
%{?_with_spoofing:%define spoofing 1}
Name: syslog-ng
-Version: 1.6.11
+Version: 1.6.12
Release: 1%{?dist}
Summary: Syslog replacement daemon
@@ -86,6 +86,15 @@
install -p -m 644 %{SOURCE1} \
$RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/syslog
+# Vim syntax file
+install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
+install -p -m 644 contrib/syslog-ng.vim $RPM_BUILD_ROOT%{_datadir}/%{name}/
+for vimver in 63 64 70 ; do
+ install -dm 755 $RPM_BUILD_ROOT%{_datadir}/vim/vim$vimver/syntax
+ ln -s %{_datadir}/%{name}/syslog-ng.vim $RPM_BUILD_ROOT%{_datadir}/vim/vim$vimver/syntax
+done
+
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -111,6 +120,25 @@
fi
+%triggerin -- vim-common
+VIMVERNEW=`rpm -q --qf='%%{epoch}:%%{version}\n' vim-common | sort | tail -n 1 | sed -e 's/[0-9]*://' | sed -e 's/\.[0-9]*$//' | sed -e 's/\.//'`
+[ -d %{_datadir}/vim/vim${VIMVERNEW}/syntax ] && \
+ ln -sf %{_datadir}/%{name}/syslog-ng.vim %{_datadir}/vim/vim${VIMVERNEW}/syntax || :
+
+%triggerun -- vim-common
+VIMVEROLD=`rpm -q --qf='%%{epoch}:%%{version}\n' vim-common | sort | head -n 1 | sed -e 's/[0-9]*://' | sed -e 's/\.[0-9]*$//' | sed -e 's/\.//'`
+[ $2 = 0 ] && rm -f %{_datadir}/vim/vim${VIMVEROLD}/syntax/syslog-ng.vim || :
+
+%triggerpostun -- vim-common
+VIMVEROLD=`rpm -q --qf='%%{epoch}:%%{version}\n' vim-common | sort | head -n 1 | sed -e 's/[0-9]*://' | sed -e 's/\.[0-9]*$//' | sed -e 's/\.//'`
+VIMVERNEW=`rpm -q --qf='%%{epoch}:%%{version}\n' vim-common | sort | tail -n 1 | sed -e 's/[0-9]*://' | sed -e 's/\.[0-9]*$//' | sed -e 's/\.//'`
+if [ $1 = 1 ]; then
+ rm -f %{_datadir}/vim/vim${VIMVEROLD}/syntax/syslog-ng.vim || :
+ [ -d %{_datadir}/vim/vim${VIMVERNEW}/syntax ] && \
+ ln -sf %{_datadir}/%{name}/syslog-ng.vim %{_datadir}/vim/vim${VIMVERNEW}/syntax || :
+fi
+
+
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README README.spoof ChangeLog INSTALL NEWS PORTS
@@ -124,11 +152,22 @@
%config(noreplace) %{_sysconfdir}/%{name}/syslog-ng.conf
%config(noreplace) %{_sysconfdir}/sysconfig/syslog-ng
%config(noreplace) %{_sysconfdir}/logrotate.d/syslog
+%{_datadir}/%{name}/
%{_mandir}/man5/*.5*
%{_mandir}/man8/*.8*
+%ghost %{_datadir}/vim/
%changelog
+* Tue Feb 6 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.6.12-1
+- Update to 1.6.12.
+
+* Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.6.11-3
+- Rebuild for FC6.
+
+* Sun Jun 4 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.6.11-2
+- Install the vim syntax file.
+
* Fri May 5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.6.11-1
- Update to 1.6.11.
@@ -287,4 +326,4 @@
* Sun Dec 08 2002 Richard E. Perlotto II <richard at perlotto.com> 1.5.23-1
- Updated file with notes and PGP signatures
-# vim:set ai ts=4 sw=4 sts=4:
+# vim:set ai ts=4 sw=4 sts=4 et:
- Previous message (by thread): rpms/syslog-ng/devel .cvsignore, 1.6, 1.7 sources, 1.6, 1.7 syslog-ng.spec, 1.16, 1.17
- Next message (by thread): rpms/syslog-ng/FC-6 .cvsignore, 1.6, 1.7 sources, 1.6, 1.7 syslog-ng.spec, 1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list