diff --git a/.gitignore b/.gitignore index dcc6865..39e5046 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /chrony-1.27-pre1.tar.gz +/chrony-1.27-pre1-git1ca844.patch.gz diff --git a/chrony.spec b/chrony.spec index b48f8cc..657527b 100644 --- a/chrony.spec +++ b/chrony.spec @@ -1,4 +1,5 @@ %define prerelease -pre1 +%define gitpatch git1ca844 Name: chrony Version: 1.27 Release: 0.4.pre1%{?gitpatch:.%{gitpatch}}%{?dist} @@ -16,7 +17,7 @@ Source5: chrony.logrotate Source7: chrony.nm-dispatcher Source8: chrony.dhclient Source9: chrony-wait.service -%{?gitpatch:Patch0: chrony-%{version}-%{gitpatch}.patch.gz} +%{?gitpatch:Patch0: chrony-%{version}%{?prerelease}-%{gitpatch}.patch.gz} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libcap-devel libedit-devel nss-devel pps-tools-devel bison texinfo diff --git a/sources b/sources index c8a7547..22bdeb2 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 09185059c85789f7a62076d6e069437f chrony-1.27-pre1.tar.gz +42354d2b033d5c1f3610aab833d2c5c2 chrony-1.27-pre1-git1ca844.patch.gz