diff --git a/Makefile b/Makefile index 2680193..72495cc 100644 --- a/Makefile +++ b/Makefile @@ -105,6 +105,7 @@ help: @echo " make rpm : Build an RPM package for RedHat-like Linux distributions" @echo " make server : Start the development server" @echo " make test : Run unit tests" + @echo " make versionup: Increase the version patch number" @echo "" @echo "To test and build everything from scratch:" @echo "make buildall" @@ -268,3 +269,9 @@ test: uninstall: rm -rf $(PATHINSTBIN) rm -rf $(PATHINSTDOC) + +# Increase the version patch number +.PHONY: versionup +versionup: + echo ${VERSION} | gawk -F. '{printf("%d.%d.%d\n",$$1,$$2,(($$3+1)));}' > VERSION + diff --git a/VERSION b/VERSION index af8c8ec..f2c6cb6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.2.2 +4.2.3 diff --git a/resources/debian/control b/resources/debian/control index 1a9a4c9..6d19ada 100644 --- a/resources/debian/control +++ b/resources/debian/control @@ -10,6 +10,6 @@ Vcs-Git: https://github.com/~#VENDOR#~/~#PROJECT#~.git Package: ~#PKGNAME#~ Provides: php-~#PROJECT#~ Architecture: all -Depends: php (>= 8.0.0), php-date, php-zip, php-tecnickcom-tc-lib-color (<< 3.0.0), php-tecnickcom-tc-lib-color (>= 2.2.4), php-tecnickcom-tc-lib-pdf-encrypt (<< 3.0.0), php-tecnickcom-tc-lib-pdf-encrypt (>= 2.1.7), ${misc:Depends} +Depends: php (>= 8.0.0), php-date, php-zip, php-tecnickcom-tc-lib-color (<< 3.0.0), php-tecnickcom-tc-lib-color (>= 2.2.5), php-tecnickcom-tc-lib-pdf-encrypt (<< 3.0.0), php-tecnickcom-tc-lib-pdf-encrypt (>= 2.1.8), ${misc:Depends} Description: PHP PDF Page Library PHP library containing PDF page formats and definitions. diff --git a/resources/rpm/rpm.spec b/resources/rpm/rpm.spec index 2425b10..43f9f15 100644 --- a/resources/rpm/rpm.spec +++ b/resources/rpm/rpm.spec @@ -20,9 +20,9 @@ Requires: php(language) >= 8.0.0 Requires: php-date Requires: php-zlib Requires: php-composer(%{c_vendor}/tc-lib-color) < 3.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-color) >= 2.2.4 +Requires: php-composer(%{c_vendor}/tc-lib-color) >= 2.2.5 Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.1.7 +Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.1.8 Provides: php-composer(%{c_vendor}/%{gh_project}) = %{version} Provides: php-%{gh_project} = %{version}