Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sjcundy:Configuration
ubco-syslog
ubco-syslog.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ubco-syslog.spec of Package ubco-syslog
Name: ubco-syslog Version: 1.0 Release: 1 License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Source: %{name}-%{version}.tar.bz2 Requires: syslog-ng Group: System/Base Packager: Steve Cundy <steve.cundy@ubc.ca> Vendor: UBC Okanagan Summary: SLE10 UBCO Syslog Configuration # Define some variables %define patchdir /opt/UBCO/patches/%{name} %description Provide SLE10 UBCO machines with UBCO ntp configuration. %prep %setup %build %install mkdir -p $RPM_BUILD_ROOT/%patchdir cp -a patches/* $RPM_BUILD_ROOT/%patchdir echo %{name}-%{version}-%{release} > $RPM_BUILD_ROOT/%patchdir/VERSION %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %patchdir %post # $1 = 0 - delete # $1 = 1 - new install # $1 = 2 - upgrade # Order: pre/post 2, preun/postun 1 if [ "$1" = "1" ] ; then # first install patch /etc/syslog-ng/syslog-ng.conf %patchdir/syslog-ng.conf.patch rcsyslog restart fi #if [ "$1" = "2" ] ; then # upgrade # patch /etc/syslog-ng/syslog-ng.conf %patchdir/syslog-ng.conf.update.patch # rcsyslog restart #fi %preun if [ "$1" = "0" ] ; then # delete install patch -R /etc/syslog-ng/syslog-ng.conf %patchdir/syslog-ng.conf.patch rcsyslog restart fi %changelog * Fri Dec 11 2008 Steve Cundy <steve.cundy@ubc.ca> - Inital build using OBS
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor