diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4207455..0179ada 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,6 +37,9 @@ variables: script: - find build/ - icinga-build-upload-aptly + only: + - master + - tags ################################### # EPEL diff --git a/icinga-php-library.spec b/icinga-php-library.spec index 955c8d3..93c5e2a 100644 --- a/icinga-php-library.spec +++ b/icinga-php-library.spec @@ -10,20 +10,19 @@ Summary: Icinga PHP Library for Icinga Web 2 Group: Applications/System License: GPLv2+ URL: https://icinga.com -Source0: https://github.com/Icinga/%{module_name}/archive/refs/heads/nightly/%{version}-dev.tar.gz +Source0: https://github.com/Icinga/%{module_name}/archive/v%{version}.tar.gz BuildArch: noarch %global basedir %{_datadir}/icinga-php/ipl Requires: icinga-php-common -Requires: icinga-php-thirdparty %description This project bundles all Icinga PHP libraries into one piece and can be integrated as library into Icinga Web 2. %prep -%setup -n %{module_name}-nightly-%{version}-dev +%setup -q %install mkdir -vp %{buildroot}%{basedir}