From 1a71dd21fead45b13b8d39f2ef2ba39af85a6fec Mon Sep 17 00:00:00 2001 From: Mattia Verga Date: Apr 23 2020 07:00:00 +0000 Subject: Fix %postun directive --- diff --git a/reg.spec b/reg.spec index 50fdae2..1791423 100644 --- a/reg.spec +++ b/reg.spec @@ -25,7 +25,7 @@ Name: reg Version: 0.15.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Docker registry v2 command line client @@ -52,7 +52,7 @@ BuildRequires: golang-github-gorilla-context-devel # EPEL for any of the other arches. # BZ filed: https://bugzilla.redhat.com/show_bug.cgi?id=1466521 ExclusiveArch: x86_64 -%endif # 0%{?epel} +%endif # The following section is populated by parsing the Gopkg.lock file # at the base dir of a git checkout of the source code. @@ -130,7 +130,7 @@ do cp -r $(pwd)/go/src/%{import_path}/vendor/${d}/* $(pwd)/go/src/${d}/ fi done -%endif # 0%{?epel} +%endif %build export GOPATH="$(pwd)/go:%{buildroot}%{gopath}:%{gopath}" @@ -190,7 +190,7 @@ cp -p LICENSE %{_builddir}/%{name}-%{version}/ %systemd_preun %{name}-server.service %postun -%systemd_postun +%systemd_postun %{name}-server.service %files %doc README.md Dockerfile Makefile @@ -202,6 +202,9 @@ cp -p LICENSE %{_builddir}/%{name}-%{version}/ %config(noreplace) %{_sharedstatedir}/%{name}-server/templates/ %changelog +* Thu Apr 23 2020 Mattia Verga - 0.15.5-5 +- Fix %%postun directive + * Thu Jan 30 2020 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild