From 7461fc893cc18431f732643ffef51035d6f352c4 Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Fri, 22 Nov 2024 20:25:32 +0000 Subject: [PATCH] Update dependencies --- Makefile | 7 +++++++ VERSION | 2 +- resources/debian/control | 2 +- resources/rpm/rpm.spec | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f6d5fb3..3da98e3 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 f93fc9f..eea30e5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.0.12 +3.0.13 diff --git a/resources/debian/control b/resources/debian/control index 94f3821..ba9264e 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-tecnickcom-tc-lib-pdf-filter (<< 2.0.0), php-tecnickcom-tc-lib-pdf-filter (>= 2.0.15), ${misc:Depends} +Depends: php (>= 8.0.0), php-tecnickcom-tc-lib-pdf-filter (<< 2.0.0), php-tecnickcom-tc-lib-pdf-filter (>= 2.0.16), ${misc:Depends} Description: PHP PDF Parser Library PHP library to parse PDF documents. diff --git a/resources/rpm/rpm.spec b/resources/rpm/rpm.spec index 647bfb8..fd14ed6 100644 --- a/resources/rpm/rpm.spec +++ b/resources/rpm/rpm.spec @@ -18,7 +18,7 @@ BuildArch: noarch Requires: php(language) >= 8.0.0 Requires: php-composer(%{c_vendor}/tc-lib-pdf-filter) < 2.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-pdf-filter) >= 2.0.15 +Requires: php-composer(%{c_vendor}/tc-lib-pdf-filter) >= 2.0.16 Requires: php-pcre Provides: php-composer(%{c_vendor}/%{gh_project}) = %{version}