commit d0224637c262f20fb82f60c8ae9f4d4d02938f4d Author: Jeremy Hinegardner jeremy@hinegardner.org Date: Mon Sep 30 17:01:22 2013 -0600
Update to latest upstream
beanstalkd.spec | 31 ++++++++++++++++--------------- sources | 2 +- 2 files changed, 17 insertions(+), 16 deletions(-) --- diff --git a/beanstalkd.spec b/beanstalkd.spec index 3b65e6f..1e665ba 100644 --- a/beanstalkd.spec +++ b/beanstalkd.spec @@ -5,19 +5,18 @@ %define beanstalkd_binlogdir %{beanstalkd_home}/binlog
Name: beanstalkd -Version: 1.4.6 -Release: 2%{?dist} +Version: 1.9 +Release: 1%{?dist} Summary: A simple, fast work-queue service
Group: System Environment/Daemons -License: GPLv3+ -URL: http://xph.us/software/%%7Bname%7D/ -Source0: http://xph.us/dist/%%7Bname%7D/%%7Bname%7D-%%7Bversion%7D.tar.gz +License: MIT +URL: http://kr.github.io/%%7Bname%7D/ +Source0: https://github.com/kr/%%7Bname%7D/archive/v%%7Bversion%7D.tar.gz Source1: %{name}.init Source2: %{name}.sysconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: libevent-devel
Requires(pre): shadow-utils Requires(pre): %{_sbindir}/groupadd @@ -36,24 +35,23 @@ asynchronously.
%prep %setup -q -if [ ! -e configure ]; then - sh autogen.sh -fi -
%build -%configure --disable-rpath -make %{?_smp_mflags} +make LDFLAGS="%{?__global_ldflags}" CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
+%check +make check
%install rm -rf $RPM_BUILD_ROOT -make install-man1 DESTDIR=$RPM_BUILD_ROOT -make install-exec-am DESTDIR=$RPM_BUILD_ROOT +make install PREFIX=%{buildroot}%{_prefix} %{__install} -p -D -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name} %{__install} -p -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/%{name} %{__install} -d -m 0755 %{buildroot}%{beanstalkd_home} %{__install} -d -m 0755 %{buildroot}%{beanstalkd_binlogdir} +%{__install} -d -m 0755 %{buildroot}%{_mandir}/man1 +%{__gzip} doc/%{name}.1 +%{__install} -p -m 0644 doc/%{name}.1.gz %{buildroot}%{_mandir}/man1/
%clean @@ -93,7 +91,7 @@ fi
%files %defattr(-,root,root,-) -%doc README README-DEVELOPERS README-TESTS COPYING doc/protocol.txt +%doc README LICENSE doc/protocol.txt %{_initrddir}/%{name} %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.gz @@ -103,6 +101,9 @@ fi
%changelog +* Mon Sep 30 2013 Jeremy Hinegardner jeremy@hinegardner.org - 1.9-1 +- update to latest upstream 1.9 + * Sun Feb 19 2012 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.4.6-2 - fix user creation bug #795159
diff --git a/sources b/sources index 91f19ea..1c422ec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3dbbb64a6528efaaaa841ea83b30768e beanstalkd-1.4.6.tar.gz +37dd1bc580c77745c26239033f910ec5 v1.9.tar.gz
scm-commits@lists.fedoraproject.org