Update to 1.1.14
Changelog: - Update to 1.1.14 - Remove reference to old Fedoras - New upstream URL - Update for latest systemd packaging guidelines - Use %%license macro - Drop %%defattr macro
This commit is contained in:
parent
45b491d372
commit
c22a0d6cf7
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,3 +13,4 @@ gearmand-0.14.tar.gz
|
|||||||
/gearmand-1.1.2.tar.gz
|
/gearmand-1.1.2.tar.gz
|
||||||
/gearmand-1.1.8.tar.gz
|
/gearmand-1.1.8.tar.gz
|
||||||
/gearmand-1.1.12.tar.gz
|
/gearmand-1.1.12.tar.gz
|
||||||
|
/gearmand-1.1.14.tar.gz
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Use systemd unit files on Fedora 18 and above.
|
# Use systemd unit files on RHEL 7 above.
|
||||||
%if 0%{?rhel} >= 7 || 0%{?fedora} >= 18
|
%if 0%{?rhel} >= 7 || 0%{?fedora}
|
||||||
%global _with_systemd 1
|
%global _with_systemd 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -15,14 +15,14 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: gearmand
|
Name: gearmand
|
||||||
Version: 1.1.12
|
Version: 1.1.14
|
||||||
Release: 18%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A distributed job system
|
Summary: A distributed job system
|
||||||
|
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.gearman.org
|
URL: http://www.gearman.org
|
||||||
Source0: https://launchpad.net/gearmand/1.2/%{version}/+download/gearmand-%{version}.tar.gz
|
Source0: https://github.com/gearman/%{name}/releases/download/%{version}/gearmand-%{version}.tar.gz
|
||||||
Source1: gearmand.init
|
Source1: gearmand.init
|
||||||
Source2: gearmand.sysconfig
|
Source2: gearmand.sysconfig
|
||||||
Source3: gearmand.service
|
Source3: gearmand.service
|
||||||
@ -54,7 +54,7 @@ BuildRequires: postgresql-devel
|
|||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
|
|
||||||
%if 0%{?_with_systemd}
|
%if 0%{?_with_systemd}
|
||||||
BuildRequires: systemd-units
|
BuildRequires: systemd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# For %%check
|
# For %%check
|
||||||
@ -75,13 +75,7 @@ Requires(pre): shadow-utils
|
|||||||
Requires: procps
|
Requires: procps
|
||||||
|
|
||||||
%if 0%{?_with_systemd}
|
%if 0%{?_with_systemd}
|
||||||
# This is actually needed for the %%triggerun script but Requires(triggerun)
|
%{?systemd_requires}
|
||||||
# is not valid. We can use %%post because this particular %%triggerun script
|
|
||||||
# should fire just after this package is installed.
|
|
||||||
Requires(post): systemd-sysv
|
|
||||||
Requires(post): systemd-units
|
|
||||||
Requires(preun): systemd-units
|
|
||||||
Requires(postun): systemd-units
|
|
||||||
%else
|
%else
|
||||||
Requires(post): chkconfig
|
Requires(post): chkconfig
|
||||||
Requires(preun): chkconfig, initscripts
|
Requires(preun): chkconfig, initscripts
|
||||||
@ -226,8 +220,8 @@ exit 0
|
|||||||
%postun -n libgearman -p /sbin/ldconfig
|
%postun -n libgearman -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%license COPYING
|
||||||
%doc AUTHORS ChangeLog COPYING README
|
%doc AUTHORS ChangeLog README
|
||||||
%if 0%{?el5} || 0%{?el6}
|
%if 0%{?el5} || 0%{?el6}
|
||||||
%attr(755,gearmand,gearmand) /var/run/gearmand
|
%attr(755,gearmand,gearmand) /var/run/gearmand
|
||||||
%endif
|
%endif
|
||||||
@ -245,14 +239,13 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n libgearman
|
%files -n libgearman
|
||||||
%defattr(-,root,root,-)
|
%license COPYING
|
||||||
%doc COPYING
|
|
||||||
%{_libdir}/libgearman.so.8
|
%{_libdir}/libgearman.so.8
|
||||||
%{_libdir}/libgearman.so.8.0.0
|
%{_libdir}/libgearman.so.8.0.0
|
||||||
|
|
||||||
%files -n libgearman-devel
|
%files -n libgearman-devel
|
||||||
%defattr(-,root,root,-)
|
%license COPYING
|
||||||
%doc AUTHORS ChangeLog COPYING README
|
%doc AUTHORS ChangeLog README
|
||||||
%dir %{_includedir}/libgearman
|
%dir %{_includedir}/libgearman
|
||||||
%{_includedir}/libgearman/*.h
|
%{_includedir}/libgearman/*.h
|
||||||
%{_libdir}/pkgconfig/gearmand.pc
|
%{_libdir}/pkgconfig/gearmand.pc
|
||||||
@ -262,6 +255,14 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jan 08 2017 Ken Dreyer <ktdreyer@ktdreyer.com> - 1.1.14-1
|
||||||
|
- Update to 1.1.14
|
||||||
|
- Remove reference to old Fedoras
|
||||||
|
- New upstream URL
|
||||||
|
- Update for latest systemd packaging guidelines
|
||||||
|
- Use %%license macro
|
||||||
|
- Drop %%defattr macro
|
||||||
|
|
||||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-18
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-18
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user