File tree 3 files changed +11
-10
lines changed
3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -1356,16 +1356,6 @@ end
1356
1356
%buildsystem_default_prep() %autosetup -p1 %*
1357
1357
%buildsystem_default_clean() %{__rm} -rf %{buildroot}
1358
1358
1359
- # Example buildsystem for autotools
1360
- %buildsystem_autotools_conf() %configure %*
1361
- %buildsystem_autotools_build() %make_build %*
1362
- %buildsystem_autotools_install() %make_install %*
1363
-
1364
- # Example buildsystem for cmake
1365
- %buildsystem_cmake_conf() cmake %* -B __rpmbuild -S .
1366
- %buildsystem_cmake_build() cmake --build __rpmbuild %{?smp_mflags} %{?verbose:-v} -- %*
1367
- %buildsystem_cmake_install() DESTDIR=${RPM_BUILD_ROOT} cmake --install __rpmbuild %{?verbose:-v} %*
1368
-
1369
1359
# \endverbatim
1370
1360
#*/
1371
1361
Original file line number Diff line number Diff line change
1
+ # Example buildsystem for autotools
2
+ %buildsystem_autotools_conf() %configure %*
3
+ %buildsystem_autotools_build() %make_build %*
4
+ %buildsystem_autotools_install() %make_install %*
5
+
6
+ # Example buildsystem for cmake
7
+ %buildsystem_cmake_conf() cmake %* -B __rpmbuild -S .
8
+ %buildsystem_cmake_build() cmake --build __rpmbuild %{?smp_mflags} %{?verbose:-v} -- %*
9
+ %buildsystem_cmake_install() DESTDIR=${RPM_BUILD_ROOT} cmake --install __rpmbuild %{?verbose:-v} %*
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ AT_SETUP([rpmbuild -b buildsystem])
48
48
AT_KEYWORDS([build])
49
49
RPMDB_INIT
50
50
51
+ cp "${RPMTEST}/data/macros.buildsystem" "${RPMTEST}/${RPM_CONFIGDIR_PATH}/macros.d/"
52
+
51
53
RPMTEST_CHECK([
52
54
runroot rpmbuild -bb \
53
55
--define "_prefix /usr" \
You can’t perform that action at this time.
0 commit comments