diff --git a/cockpit.spec b/cockpit.spec index d57ae16..8aad816 100644 --- a/cockpit.spec +++ b/cockpit.spec @@ -35,9 +35,11 @@ Source0: cockpit-%{version}.tar.gz %else Source0: https://github.com/cockpit-project/cockpit/releases/download/%{version}/cockpit-%{version}.tar.bz2 %endif -Source1: cockpit.pam %if 0%{?suse_version} Patch1: add-genericname.patch +Source1: cockpit-suse.pam +%else +Source1: cockpit-fedora.pam %endif BuildRequires: pkgconfig(gio-unix-2.0)