This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository nx-libs. from d35c5d011 nx-libs.spec: fix nxdialog hashbang selection, especially on *SuSE. new f16808513 nx-libs.spec: add BR: upon pathfix.py. new ec4f09add debian/rules: fix version detection on testing and unstable. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/rules | 20 ++++++++++++++++++++ nx-libs.spec | 4 ++++ 2 files changed, 24 insertions(+) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository nx-libs. commit f16808513a7fa479c73c2067e853825e9f1b9abd Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Feb 23 13:17:35 2023 +0100 nx-libs.spec: add BR: upon pathfix.py. --- nx-libs.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nx-libs.spec b/nx-libs.spec index d4370c7eb..86099de51 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -134,6 +134,10 @@ BuildRequires: zlib-devel BuildRequires: libtirpc-devel %endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: /usr/bin/pathfix.py +%endif + Obsoletes: nx < 3.5.0-19 Provides: nx = %{version}-%{release} Provides: nx%{?_isa} = %{version}-%{release} -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository nx-libs. commit ec4f09addbe4c65362dd6f542ad171bde14ce890 Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Feb 23 13:17:55 2023 +0100 debian/rules: fix version detection on testing and unstable. --- debian/rules | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/debian/rules b/debian/rules index 3ca425f76..dac7c6e41 100755 --- a/debian/rules +++ b/debian/rules @@ -20,6 +20,26 @@ VENDOR_DEBIAN := $(shell { dpkg-vendor --is 'Debian' && echo 'yes'; } || { dpkg- ifeq ($(VENDOR_DEBIAN),yes) RELEASE_VER := $(shell /usr/bin/lsb_release -r | cut -d ':' -f'2' | sed -e 's/\s*//g' | cut -d '.' -f'1') + + # Newer Debian versions might report "n/a" for testing and unstable. + ifeq ($(RELEASE_VER),n/a) + # On these platforms, the best way to determine the system version is by + # going through "apt-cache policy". + # Note that this should only be the case for either testing or unstable. + # Other systems should have a proper version number. + # This is also why we can just drop any suites/archive names (this is + # what a= means) containing a dash character (e.g., "stable-updates") + # and only pick the first match. + RELEASE_VER := $(shell /usr/bin/apt-cache policy | grep -E 'o=(De|Rasp)bian,' | grep -E 'l=(De|Rasp)bian,' | grep -F 'c=main,' | grep -Eo 'a=[^, ]*' | sed -e 's/^a=//' | grep -v -- '-' | head -n '1') + + # Do error checking. + ifneq ($(RELEASE_VER),testing) + ifneq ($(RELEASE_VER),unstable) + $(error Release version could not be determined, sorry. Extracted value: $(RELEASE_VER)) + endif + endif + endif + # Let's fake testing's and unstable's "release version"... ifeq ($(RELEASE_VER),testing) RELEASE_VER := 999 -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git