[datefudge] new upstream release
Nikos Mavrogiannopoulos
nmav at fedoraproject.org
Wed Dec 3 14:53:03 UTC 2014
commit 35b6558cd6a604c3ee9c5c43121cba41136bf98e
Author: Nikos Mavrogiannopoulos <nmav at redhat.com>
Date: Wed Dec 3 14:25:18 2014 +0100
new upstream release
.gitignore | 1 +
datefudge-make.patch | 27 ---------------------------
datefudge.spec | 15 +++++++++------
sources | 2 +-
4 files changed, 11 insertions(+), 34 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 94cc1c9..4c19f1a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/datefudge_1.18.tar.gz
+/datefudge_1.20.tar.gz
diff --git a/datefudge.spec b/datefudge.spec
index f951067..1d63e49 100644
--- a/datefudge.spec
+++ b/datefudge.spec
@@ -1,12 +1,11 @@
Name: datefudge
-Version: 1.18
-Release: 4%{?dist}
+Version: 1.20
+Release: 1%{?dist}
Summary: Fake the system date
License: GPLv2+
URL: http://packages.qa.debian.org/d/datefudge.html
Source0: http://cdn.debian.net/debian/pool/main/d/datefudge/%{name}_%{version}.tar.gz
-Patch0: datefudge-make.patch
%description
This program (and preload library) fakes the system date so that
@@ -17,13 +16,14 @@ programs without changing the system clock.
%prep
%setup -q
-%patch0 -p1
+sed "s/VERSION := \$\(.*\)/VERSION := %{version}/g" -i Makefile
+sed 's/-o root -g root/-p/g' -i Makefile
%build
-LDFLAGS="%{__global_ldflags}" CFLAGS="%{optflags}" make libdir=%{_libexecdir}/%{name} %{?_smp_mflags}
+LDFLAGS="%{__global_ldflags}" CFLAGS="%{optflags}" make libdir=%{_libexecdir} %{?_smp_mflags}
%install
-make install DESTDIR=%{buildroot} libdir=%{_libexecdir}/%{name}
+make install DESTDIR=%{buildroot} libdir=%{_libexecdir}
chmod +x %{buildroot}/%{_libexecdir}/%{name}/datefudge.so #for stripping
%files
@@ -34,6 +34,9 @@ chmod +x %{buildroot}/%{_libexecdir}/%{name}/datefudge.so #for stripping
%{_bindir}/datefudge
%changelog
+* Wed Dec 3 2014 Nikos Mavrogiannopoulos <nmav at redhat.com> - 1.20-1
+- New upstream release
+
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.18-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
diff --git a/sources b/sources
index 5731220..b7aaa97 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8227b1b02bb78d3215fc2ee9cd9b64fd datefudge_1.18.tar.gz
+033990e39ab7b29321fc3a0e3bbb165a datefudge_1.20.tar.gz
More information about the scm-commits
mailing list