Skip to content

Commit

Permalink
Spec file fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
  • Loading branch information
puiterwijk committed Mar 13, 2020
1 parent 4072975 commit c77cc7c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions zezere.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Source0: https://github.com/fedora-iot/zezere/archive/v%{version}.tar.gz#/
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: systemd


%description
Expand All @@ -31,10 +32,10 @@ An Ignition client for Zezere managed systems.

%install
%py3_install
cp zezere_ignition/__init__.py %{buildroot}/usr/bin/zezere-ignition
install zezere_ignition/__init__.py %{buildroot}/usr/bin/zezere-ignition
chmod +x %{buildroot}/usr/bin/zezere-ignition
mkdir -p %{buildroot}/usr/lib/systemd/system/
cp zezere_ignition/zezere_ignition.* %{buildroot}/usr/lib/systemd/system/
mkdir -p %{buildroot}%{_unitdir}
install zezere_ignition/zezere_ignition.* %{buildroot}%{_unitdir}/
mkdir -p %{buildroot}%{_sharedstatedir}/zezere

%files
Expand All @@ -46,7 +47,7 @@ mkdir -p %{buildroot}%{_sharedstatedir}/zezere

%files ignition
%{_bindir}/zezere-ignition
/usr/lib/systemd/system/*
%{_unitdir}/*

%changelog
* Thu Dec 5 2019 Peter Robinson <pbrobinson@fedoraproject.org> 0.1-2
Expand Down

0 comments on commit c77cc7c

Please sign in to comment.