mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-04-17 19:58:27 +00:00
Fix #67 Requires PHP 8.0 minimum for the DEB and RPM package
Fix a grep selector in the cleanup lines Update the Debian repositories before installing the deb package
This commit is contained in:
parent
879fa89d1e
commit
b177e03b19
3 changed files with 4 additions and 3 deletions
|
|
@ -36,6 +36,7 @@ debian11-test:
|
|||
- debian11-package
|
||||
script:
|
||||
- pwd
|
||||
- apt update
|
||||
- apt install -y ./build/*.deb
|
||||
- cd /opt/belledonne-communications/share/flexisip-account-manager/flexiapi
|
||||
- composer install --dev
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -82,14 +82,14 @@ deb-only:
|
|||
fakeroot alien -g -k --scripts $(OUTPUT_DIR)/rpmbuild/tmp.rpm
|
||||
rm -r $(OUTPUT_DIR)/rpmbuild
|
||||
rm -rf $(OUTPUT_DIR)/*.orig
|
||||
sed -i 's/Depends:.*/Depends: $${shlibs:Depends}, php, php-xml, php-pdo, php-gd, php-redis, php-mysql, php-mbstring, php-sqlite3/g' $(OUTPUT_DIR)/bc-flexisip-account-manager*/debian/control
|
||||
sed -i 's/Depends:.*/Depends: $${shlibs:Depends}, php (>= 8.0), php-xml, php-pdo, php-gd, php-redis, php-mysql, php-mbstring, php-sqlite3/g' $(OUTPUT_DIR)/bc-flexisip-account-manager*/debian/control
|
||||
|
||||
cd `ls -rt $(OUTPUT_DIR) | tail -1` && dpkg-buildpackage --no-sign
|
||||
@echo "📦✅ DEB Package Created"
|
||||
|
||||
@echo "🧹 Cleanup"
|
||||
ls -d */ | cut -f1 -d'/' | grep bc-flexisip-account-manager | xargs rm -rf
|
||||
ls bc-flexisip-account-manager* | grep -v deb | xargs rm
|
||||
ls bc-flexisip-account-manager* | grep -v "\.deb" | xargs rm
|
||||
|
||||
mv *.deb build/.
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ License: GPL
|
|||
URL: http://www.linphone.org
|
||||
Source0: flexisip-account-manager.tar.gz
|
||||
|
||||
Requires: php php-gd php-xmlrpc php-pdo php-redis php-mysqlnd php-mbstring
|
||||
Requires: php >= 8.0, php-gd, php-xmlrpc, php-pdo, php-redis, php-mysqlnd, php-mbstring
|
||||
|
||||
%description
|
||||
PHP server for Linphone and Flexisip providing module for account creation.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue