Skip to content

Commit

Permalink
[dist] new package obs-backend-testsuite in obs-server.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
M0ses authored and hennevogel committed Apr 25, 2022
1 parent 66f104d commit 9876384
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 11 additions & 0 deletions dist/obs-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,17 @@ getent passwd obsapidelayed >/dev/null || \
%files -n system-user-obsservicerun
%endif

%package -n obs-backend-testsuite
Summary: The Open Build Service -- Backend Testsuite
Group: Productivity/Networking/Web/Utilities
Requires: obs-server

%description -n obs-backend-testsuite
This package contains the backend unit tests

%files -n obs-backend-testsuite
%{obs_backend_dir}/t

#--------------------------------------------------------------------------------
%prep
%setup -q -n open-build-service-%version
Expand Down
1 change: 0 additions & 1 deletion src/backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ install: prepare_dirs install_data_dirs bs_config
cp -a ./* $(DESTDIR)$(OBS_BACKEND_PREFIX)
rm -rf $(DESTDIR)$(OBS_BACKEND_PREFIX)/build
rm -rf $(DESTDIR)$(OBS_BACKEND_PREFIX)/Makefile
rm -rf $(DESTDIR)$(OBS_BACKEND_PREFIX)/t
rm -rf $(DESTDIR)$(OBS_BACKEND_PREFIX)/testdata
rm -rf $(DESTDIR)$(OBS_BACKEND_PREFIX)/examples
# just for check section, it is a %%ghost
Expand Down

0 comments on commit 9876384

Please sign in to comment.