From c60a6cc0a991daab71fc37ec9e48e30ff41c5c28 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 18 Jan 2024 10:54:27 -0500 Subject: [PATCH] contrib/packaging: Updates for manpages and systemd unit The COPR build is failing due to this. While we're here, also switch to autochangelog/autorelease. Personally I think spec files upstream makes little sense, but COPR wants it. Also for the files section, it is tempting to copy/paste https://src.fedoraproject.org/rpms/rpm-ostree/blob/rawhide/f/rpm-ostree.spec#_191 here too. Signed-off-by: Colin Walters --- contrib/packaging/bootc.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/contrib/packaging/bootc.spec b/contrib/packaging/bootc.spec index 63c717454..577014824 100644 --- a/contrib/packaging/bootc.spec +++ b/contrib/packaging/bootc.spec @@ -2,7 +2,7 @@ Name: bootc Version: 0.1 -Release: 1%{?dist} +Release: %autorelease Summary: Boot containers License: ASL 2.0 @@ -29,7 +29,8 @@ BuildRequires: systemd-devel %doc README.md %{_bindir}/bootc %{_prefix}/lib/bootc -%{_mandir}/man8/bootc* +%{_unitdir}/* +%{_mandir}/man*/bootc* %prep %autosetup -p1 -Sgit @@ -50,6 +51,4 @@ make %make_install INSTALL="install -p -c" %changelog -* Tue Oct 18 2022 Colin Walters -- Dummy changelog - +%autochangelog