rpms/ez-ipupdate/RHL-9 .cvsignore, 1.2, 1.3 ez-ipupdate.spec, 1.1, 1.2 sources, 1.2, 1.3
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Sat Nov 27 11:08:03 UTC 2004
- Previous message: rpms/ez-ipupdate/FC-1 .cvsignore, 1.2, 1.3 ez-ipupdate.spec, 1.2, 1.3 sources, 1.2, 1.3
- Next message: rpms/ez-ipupdate/FC-2 .cvsignore, 1.2, 1.3 ez-ipupdate.spec, 1.3, 1.4 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Changeset from: scop
Update of /cvs/extras/rpms/ez-ipupdate/RHL-9
In directory cvs.fedora.redhat.com:/tmp/cvs-serv20535/RHL-9
Modified Files:
.cvsignore ez-ipupdate.spec sources
Log Message:
Sync with fedora.us 3.0.11-0.fdr.0.6.b8.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ez-ipupdate/RHL-9/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 8 Nov 2004 04:15:56 -0000 1.2
+++ .cvsignore 27 Nov 2004 11:08:01 -0000 1.3
@@ -1,2 +1,3 @@
ez-ipupdate-3.0.11b8.tar.gz
ez-ipupdate_3.0.11b8-6.diff.gz
+ez-ipupdate_3.0.11b8-8.diff.gz
Index: ez-ipupdate.spec
===================================================================
RCS file: /cvs/extras/rpms/ez-ipupdate/RHL-9/ez-ipupdate.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ez-ipupdate.spec 8 Nov 2004 04:15:56 -0000 1.1
+++ ez-ipupdate.spec 27 Nov 2004 11:08:01 -0000 1.2
@@ -1,6 +1,6 @@
Name: ez-ipupdate
Version: 3.0.11
-Release: 0.fdr.0.5.b8.rh90
+Release: 0.fdr.0.6.b8.rh90
Epoch: 0
Summary: Client for Dynamic DNS Services
@@ -9,13 +9,14 @@
URL: http://www.gusnet.cx/proj/ez-ipupdate/
Source0: http://www.gusnet.cx/proj/ez-ipupdate/dist/ez-ipupdate-3.0.11b8.tar.gz
Source1: %{name}.init
-Patch0: http://ftp.debian.org/debian/pool/main/e/ez-ipupdate/ez-ipupdate_3.0.11b8-6.diff.gz
+Patch0: http://ftp.debian.org/debian/pool/main/e/ez-ipupdate/ez-ipupdate_3.0.11b8-8.diff.gz
Patch1: %{name}-pidfile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires(post,preun): /sbin/chkconfig
-Requires(pre): /usr/sbin/useradd, /usr/sbin/groupadd
-Requires(postun): /usr/sbin/userdel, /usr/sbin/groupdel
+Requires(post): /sbin/chkconfig
+Requires(preun): /sbin/chkconfig
+Requires(pre): /usr/sbin/useradd /usr/sbin/groupadd
+Requires(postun): /usr/sbin/userdel /usr/sbin/groupdel
%description
ez-ipupdate is a small utility for updating your host name for any of the
@@ -34,34 +35,31 @@
* http://www.zoneedit.com
It is pure C and works on Linux, *BSD and Solaris.
Don't forget to create your own config file to %{_sysconfdir}/ez-ipupdate.conf.
-You can find some example in %{_docdir}/%{name}-%{version}.
+You can find some examples in %{_docdir}/%{name}-%{version}.
-# -----------------------------------------------------------------------------
%prep
%setup -q -n %{name}-%{version}b8
%patch0 -p1
%patch1 -p0
-touch stamp-h.in
+touch *.in aclocal.m4 configure
-# -----------------------------------------------------------------------------
%build
%configure
make %{?_smp_mflags}
-# -----------------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT
-%makeinstall bindir=$RPM_BUILD_ROOT%{_sbindir}
+make install DESTDIR=$RPM_BUILD_ROOT bindir=%{_sbindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
cp -p ez-ipupdate.8 $RPM_BUILD_ROOT%{_mandir}/man8
mkdir -p $RPM_BUILD_ROOT%{_initrddir}
-perl -pe \
+%{__perl} -pe \
's|/var/|%{_localstatedir}/|g ;
s|/usr/sbin/|%{_sbindir}/|g ;
s|/etc/([^ir])|%{_sysconfdir}/$1|g ;
@@ -77,12 +75,10 @@
# Create a dedicated dir for the pid file so we can run as non-root.
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/ez-ipupdate
-# -----------------------------------------------------------------------------
%clean
rm -rf $RPM_BUILD_ROOT
-# -----------------------------------------------------------------------------
%pre
/usr/sbin/groupadd -r ez-ipupd >/dev/null 2>&1 || :
@@ -93,37 +89,40 @@
/sbin/chkconfig --add ez-ipupdate
%preun
-if [ "$1" = "0" ]; then
+if [ $1 -eq 0 ] ; then
%{_initrddir}/ez-ipupdate stop >/dev/null 2>&1 || :
/sbin/chkconfig --del ez-ipupdate
fi
%postun
-if [ "$1" = "0" ]; then
+if [ $1 -eq 0 ] ; then
/usr/sbin/userdel ez-ipupd >/dev/null 2>&1 || :
/usr/sbin/groupdel ez-ipupd >/dev/null 2>&1 || :
-elif [ "$1" -ge 1 ]; then
+elif [ $1 -ge 1 ] ; then
%{_initrddir}/ez-ipupdate condrestart >/dev/null
fi
-# -----------------------------------------------------------------------------
%files
%defattr(0644,root,root,0755)
%doc CHANGELOG COPYING README example-*.conf
-%{_mandir}/*/*
+%{_mandir}/man8/ez-ipupdate.8*
%defattr(0755,root,root,0755)
-%attr(0755,root,root) %{_sbindir}/*
-%attr(0755,root,root) %{_initrddir}/*
+%attr(0755,root,root) %{_sbindir}/ez-ipupdate
+%attr(0755,root,root) %{_initrddir}/ez-ipupdate
%defattr(0644,ez-ipupd,ez-ipupd,0755)
%dir %{_localstatedir}/cache/ez-ipupdate
%ghost %{_localstatedir}/cache/ez-ipupdate/default-cache
%dir %{_localstatedir}/run/ez-ipupdate
%ghost %attr(0640,root,ez-ipupd) %config(noreplace,missingok) %{_sysconfdir}/ez-ipupdate.conf
-# -----------------------------------------------------------------------------
%changelog
+* Sun Nov 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:3.0.11-0.fdr.0.6.b8
+- Update patch from Debian to 3.0.11b8-8, fixes CAN-2004-0980.
+- Try harder to avoid (re-)running aclocal and friends during build.
+- Cosmetic specfile improvements.
+
* Sat Jul 19 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:3.0.11-0.fdr.0.5.b8
- Update patch from Debian to 3.0.11b8-6 (bug 337).
- Revert default-cache to %%ghost (it's not a %%config file).
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ez-ipupdate/RHL-9/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 8 Nov 2004 04:15:56 -0000 1.2
+++ sources 27 Nov 2004 11:08:01 -0000 1.3
@@ -1,2 +1,2 @@
000211add4c4845ffa4211841bff4fb0 ez-ipupdate-3.0.11b8.tar.gz
-a76900721e323732ee3d7b038744b21c ez-ipupdate_3.0.11b8-6.diff.gz
+2d3fd3d0599667244931444c69394c51 ez-ipupdate_3.0.11b8-8.diff.gz
- Previous message: rpms/ez-ipupdate/FC-1 .cvsignore, 1.2, 1.3 ez-ipupdate.spec, 1.2, 1.3 sources, 1.2, 1.3
- Next message: rpms/ez-ipupdate/FC-2 .cvsignore, 1.2, 1.3 ez-ipupdate.spec, 1.3, 1.4 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list