[uptimed/f21] package snapshot, switching to upstream systemd unit

Tomasz Torcz ttorcz at fedoraproject.org
Wed Oct 22 11:13:49 UTC 2014


commit 9c71f167d5ca8a7e506f58535c8bd423dae7edfb
Author: Tomasz Torcz <tomek at pipebreaker.pl>
Date:   Wed Oct 22 12:50:23 2014 +0200

    package snapshot, switching to upstream systemd unit

 .gitignore      |    1 +
 sources         |    2 +-
 uptimed.service |   10 ----------
 uptimed.spec    |   13 ++++++++-----
 4 files changed, 10 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c9d2ed4..33fbc10 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /uptimed-0.3.16.tar.bz2
 /uptimed-0.3.17.tar.bz2
+/uptimed-0.3.17.20141021hg29bd8b1eb43d.tar.bz2
diff --git a/sources b/sources
index b30706e..01a2d24 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-528b62c33454b33537c3bf2366977bdb  uptimed-0.3.17.tar.bz2
+92d5f814695e5603bf9ef9a49ea0a72d  uptimed-0.3.17.20141021hg29bd8b1eb43d.tar.bz2
diff --git a/uptimed.spec b/uptimed.spec
index d1e7fa0..9a0fad7 100644
--- a/uptimed.spec
+++ b/uptimed.spec
@@ -1,14 +1,15 @@
+%global checkout 20141021hg29bd8b1eb43d
 
 Summary:	A daemon to record and keep track of system up times
 Name:		uptimed
-Version:	0.3.17
-Release:	7%{?dist}
+Version:	0.3.17.%{checkout}
+Release:	1%{?dist}
 License:	GPLv2
 Group:		System Environment/Daemons
 URL:		http://podgorny.cz/moin/Uptimed
 Source0:	http://podgorny.cz/uptimed/releases/%{name}-%{version}.tar.bz2
-Source1:	uptimed.service
 BuildRequires:	systemd-units
+BuildRequires:	automake, libtool
 Requires(post): systemd-units
 Requires(preun): systemd-units
 Requires(postun): systemd-units
@@ -50,8 +51,6 @@ cp libuptimed/urec.h %{buildroot}%{_includedir}/uptimed.h
 install -m 755 -d %{buildroot}%{_pkgdocdir}/sample-cgi
 install -m 644 sample-cgi/uprecords.* %{buildroot}%{_pkgdocdir}/sample-cgi
 mv %{buildroot}/etc/uptimed.conf-dist %{buildroot}/etc/uptimed.conf
-mkdir -p %{buildroot}%{_unitdir}
-cp -p %{SOURCE1} %{buildroot}%{_unitdir}
 mkdir -p %{buildroot}%{_localstatedir}/spool/uptimed
 
 %post
@@ -86,6 +85,10 @@ mkdir -p %{buildroot}%{_localstatedir}/spool/uptimed
 %{_includedir}/uptimed.h
 
 %changelog
+* Wed Oct 22 2014 Tomasz Torcz <ttorcz at fedoraproject.org> - 0.3.17.20141021hg29bd8b1eb43d-1
+- package snapshot
+- use upstream systemd units
+
 * Mon Aug 18 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.17-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list