Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package golang-github-boynux-squid_exporter 
for openSUSE:Factory checked in at 2025-12-17 17:33:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-boynux-squid_exporter (Old)
 and      
/work/SRC/openSUSE:Factory/.golang-github-boynux-squid_exporter.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "golang-github-boynux-squid_exporter"

Wed Dec 17 17:33:01 2025 rev:6 rq:1323124 version:1.13.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/golang-github-boynux-squid_exporter/golang-github-boynux-squid_exporter.changes
  2025-08-21 17:00:33.573056287 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-github-boynux-squid_exporter.new.1939/golang-github-boynux-squid_exporter.changes
        2025-12-17 17:37:15.449890779 +0100
@@ -1,0 +2,63 @@
+Thu Dec 11 08:26:57 UTC 2025 - Witek Bedyk <[email protected]>
+
+- Add _service file
+- Add vendor.tar.gz tarball
+- Require Go 1.23 or newer for building
+- Require gcc11-c++ for building with SLE 12
+- Refactor spec file
+- Update to version 1.13.0
+  - Add support for squid-internal-mgr path for metrics.
+- Update to version 1.12.0
+  - Add TLS and basic authentication support for the web interface.
+- Update to version 1.11.0
+  - Allow adding custom labels to all metrics.
+- Update to version 1.10.0
+  - Add ability to configure the exporter using
+    environment variables.
+  - Add support for Squid 6
+  - Add `squid_up` metric
+  - Add `squid_scrape_duration_seconds` metric
+  - Add `squid_scrape_error` metric
+- Update to version 1.9.0
+  - Add `process_open_fds` metric to monitor open file
+    descriptors.
+  - Use `CAP_DAC_READ_SEARCH` capability to allow reading
+    process information without running as root.
+- Update to version 1.8.0
+  - Add various service time metrics to provide more
+    detailed performance data.
+- Update to version 1.7.0
+  - Add support for basic authentication against the
+    Squid proxy.
+  - Fix `squid_client_http_requests_total` metric
+  - Fix `squid_client_http_requests_total` metric
+- Upstream changes for v1.9.0:
+  - Add `process_open_fds` metric to monitor open file
+    descriptors.
+  - Use `CAP_DAC_READ_SEARCH` capability to allow
+    reading process information without running as root.
+- Upstream changes for v1.8.0:
+  - Add various service time metrics to provide more
+    detailed performance data.
+- Upstream changes for v1.7.0:
+  - Add support for basic authentication against the
+    Squid proxy.Update to version 1.10.0
+  - Add ability to configure the exporter using environment
+    variables.
+  - Add support for Squid 6
+  - Add `squid_up` metric
+  - Add `squid_scrape_duration_seconds` metric
+  - Add `squid_scrape_error` metric
+  - Fix `squid_client_http_requests_total` metric
+  - Fix `squid_client_http_requests_total` metric
+- Upstream changes for v1.9.0:
+  - Add `process_open_fds` metric to monitor open file descriptors.
+  - Use `CAP_DAC_READ_SEARCH` capability to allow reading process
+    information without running as root.
+- Upstream changes for v1.8.0:
+  - Add various service time metrics to provide more detailed
+    performance data.
+- Upstream changes for v1.7.0:
+  - Add support for basic authentication against the Squid proxy.
+
+-------------------------------------------------------------------

Old:
----
  squid-exporter-1.6.tar.gz

New:
----
  _service
  squid-exporter-1.13.0.obscpio
  squid-exporter.obsinfo
  vendor.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ golang-github-boynux-squid_exporter.spec ++++++
--- /var/tmp/diff_new_pack.8s24Ey/_old  2025-12-17 17:37:22.434184307 +0100
+++ /var/tmp/diff_new_pack.8s24Ey/_new  2025-12-17 17:37:22.438184474 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package golang-github-boynux-squid_exporter
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 # Copyright (c) 2019 João Cavalheiro <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -33,47 +33,54 @@
 %endif
 
 Name:           golang-github-boynux-squid_exporter
-Version:        1.6
+Version:        1.13.0
 Release:        0
 Summary:        Squid Prometheus Exporter
 License:        MIT
 Group:          System/Management
 URL:            http://%{githubrepo}
 Source:         %{upstreamname}-%{version}.tar.gz
-Source1:        %{targetname}.service
-BuildRequires:  fdupes
-BuildRequires:  golang-packaging
-BuildRequires:  xz
+Source1:        vendor.tar.gz
+Source2:        %{targetname}.service
+%if 0%{?suse_version} == 1315 && !0%{?is_opensuse}
+BuildRequires:  gcc11-c++
+%endif
 %if 0%{?rhel}
 BuildRequires:  golang >= 1.15
 %else
-BuildRequires:  golang(API) >= 1.15
+BuildRequires:  golang(API) >= 1.23
 %endif
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{?systemd_requires}
 %if 0%{?rhel}
 Requires(pre):  shadow-utils
 %else
 Requires(pre):  shadow
 %endif
 ExcludeArch:    s390
+%systemd_ordering
 
 %description
 Exports squid metrics in Prometheus format
 
 %prep
-%setup -q -n %{upstreamname}-%{version}
+%setup -q -a1 -n %{upstreamname}-%{version}
 
 %build
-%goprep %{githubrepo}
-# Fix automatic versioning
-export GO111MODULE=auto
-%gobuild
+%ifnarch ppc64
+export GOFLAGS="-buildmode=pie"
+%endif
+%ifarch s390x armv7hl armv7l armv7l:armv6l:armv5tel armv6hl
+export CGO_ENABLED=1
+%if 0%{?suse_version} == 1315 && !0%{?is_opensuse}
+export CC=gcc-11
+export CXX=g++-11
+%endif
+%endif
+go build
 
 %install
-install -D -m0755 %{_builddir}/go/bin/%{upstreamname} 
%{buildroot}/%{_bindir}/%{targetname}
+install -D -m0755 %{_builddir}/%{upstreamname}-%{version}/%{upstreamname} 
%{buildroot}/%{_bindir}/%{targetname}
 install -d -m 0755 %{buildroot}%{_unitdir}
-install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}
+install -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}
 install -d -m 0755 %{buildroot}%{_sbindir}
 ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{targetname}
 

++++++ _service ++++++
<services>
  <service name="obs_scm" mode="manual">
    <param name="url">https://github.com/boynux/squid-exporter.git</param>
    <param name="scm">git</param>
    <param name="exclude">.git</param>
    <param name="versionformat">@PARENT_TAG@</param>
    <param name="revision">v1.13.0</param>
    <param name="versionrewrite-pattern">v(.*)</param>
  </service>
  <service name="tar" mode="buildtime"/>
  <service name="recompress" mode="buildtime">
    <param name="file">*.tar</param>
    <param name="compression">gz</param>
  </service>
  <service name="set_version" mode="manual">
    <param name="basename">squid-exporter</param>
  </service>
  <service name="go_modules" mode="manual">
    <param name="archive">squid-exporter-1.13.0.obscpio</param>
  </service>
</services>


++++++ squid-exporter.obsinfo ++++++
name: squid-exporter
version: 1.13.0
mtime: 1746510327
commit: 988864ca5f486edd04841a672cc231b1613cc55c

Reply via email to