Skip to content

Commit a5a1bb7

Browse files
committed
Create patch structure and add BuildRequire
1 parent 984290b commit a5a1bb7

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

cobbler.spec

+3-2
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ BuildRequires: %{py3_module_coverage}
137137
BuildRequires: python%{python3_pkgversion}-distro
138138
BuildRequires: python%{python3_pkgversion}-future
139139
BuildRequires: python%{python3_pkgversion}-setuptools
140+
BuildRequires: python%{python3_pkgversion}-netaddr
141+
BuildRequires: %{py3_module_cheetah}
140142
BuildRequires: %{py3_module_sphinx}
141143
%if 0%{?suse_version}
142144
# Make post-build-checks happy by including these in the buildroot
@@ -238,14 +240,13 @@ http://server/cobbler_web to configure the install server.
238240

239241

240242
%prep
241-
%autosetup -p1
243+
%setup
242244

243245
%if 0%{?suse_version}
244246
# Set tftpboot location correctly for SUSE distributions
245247
sed -e "s|/var/lib/tftpboot|%{tftpboot_dir}|g" -i cobbler/settings.py config/cobbler/settings
246248
%endif
247249

248-
249250
%build
250251
%py3_build
251252

patches/.keep

Whitespace-only changes.

patches/debian/.keep

Whitespace-only changes.

patches/suse/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)