new upstream release
This commit is contained in:
parent
985d81b985
commit
35b6558cd6
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/datefudge_1.18.tar.gz
|
||||
/datefudge_1.20.tar.gz
|
||||
|
@ -1,27 +0,0 @@
|
||||
Common subdirectories: datefudge-1.18.orig/debian and datefudge-1.18/debian
|
||||
diff -u datefudge-1.18.orig/Makefile datefudge-1.18/Makefile
|
||||
--- datefudge-1.18.orig/Makefile 2013-05-11 19:02:28.000000000 +0200
|
||||
+++ datefudge-1.18/Makefile 2013-11-13 15:18:56.919488272 +0100
|
||||
@@ -1,6 +1,6 @@
|
||||
# $Id: Makefile 19 2011-02-14 22:21:52Z robert $
|
||||
|
||||
-VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
|
||||
+VERSION := 1.18
|
||||
|
||||
CC = gcc
|
||||
CFLAGS += -Wall -Wextra -D_REENTRANT -fpic
|
||||
@@ -20,11 +20,11 @@
|
||||
|
||||
install: datefudge datefudge.so datefudge.1
|
||||
install -d $(DESTDIR)$(libdir)/$(libarch)
|
||||
- $(INSTALL_PROGRAM) -o root -g root -m 644 datefudge.so $(DESTDIR)$(libdir)/$(libarch)/datefudge.so
|
||||
+ $(INSTALL_PROGRAM) -p -m 644 datefudge.so $(DESTDIR)$(libdir)/$(libarch)/datefudge.so
|
||||
install -d $(DESTDIR)$(bindir)
|
||||
- $(INSTALL_PROGRAM) -o root -g root -m 755 datefudge $(DESTDIR)$(bindir)
|
||||
+ $(INSTALL_PROGRAM) -p -m 755 datefudge $(DESTDIR)$(bindir)
|
||||
install -d $(DESTDIR)$(mandir)/man1
|
||||
- install -o root -g root -m 644 datefudge.1 $(DESTDIR)$(mandir)/man1
|
||||
+ install -p -m 644 datefudge.1 $(DESTDIR)$(mandir)/man1
|
||||
|
||||
datefudge: datefudge.sh
|
||||
datefudge.1: datefudge.man
|
@ -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@redhat.com> - 1.20-1
|
||||
- New upstream release
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user