Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package loki for openSUSE:Factory checked in 
at 2026-04-09 16:10:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/loki (Old)
 and      /work/SRC/openSUSE:Factory/.loki.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "loki"

Thu Apr  9 16:10:06 2026 rev:34 rq:1345445 version:3.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/loki/loki.changes        2026-03-27 
06:44:02.772454040 +0100
+++ /work/SRC/openSUSE:Factory/.loki.new.21863/loki.changes     2026-04-09 
16:23:24.327204445 +0200
@@ -1,0 +2,1087 @@
+Fri Mar 27 16:55:37 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- Refresh proper-data-directories.patch
+- promtail got removed upstream
+
+-------------------------------------------------------------------
+Fri Mar 27 11:54:14 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- Update to version 3.7.1:
+  * fix: Upgrade Go and gRPC versions on 3.7.x (#21282)
+  * docs: backport meta-monitoring topic (#21287)
+  * docs: Loki 3.7 Release Notes (backport release-3.7.x) (#21285)
+  * chore(k299): release 3.7.0 (#21275)
+
+-------------------------------------------------------------------
+Thu Mar 26 16:33:07 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- Update to version 3.7.0:
+  * feat: Update references to v3.7.0 (backport k299) (#21274)
+  * docs: Update or remove Promtail references (backport k299) (#21273)
+  * fix: force releaseplease version (#21272)
+  * feat: release 3.7 (#21270)
+  * fix: Use newer Go in fluentbit and fix canary test (backport k299) (#21257)
+  * feat: Remove Promtail support (backport k299) (#21248)
+  * fix: if we don't know the rate of a segmentation key, shard the stream 
(#21210)
+  * fix(deps): update module 
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace to 
v0.67.0 (main) (#21073)
+  * fix(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.32.12 
(main) (#21091)
+  * fix(deps): update module google.golang.org/api to v0.272.0 (main) (#21151)
+  * chore(deps): Update prometheus - 2026-03-20 (#21211)
+  * fix(deps): update module golang.org/x/tools to v0.43.0 (main) (#21169)
+  * fix(deps): update module go.opentelemetry.io/collector/pdata to v1.53.0 
(main) (#21058)
+  * fix(deps): update module go.opentelemetry.io/otel/sdk to v1.42.0 (main) 
(#21065)
+  * fix(deps): update module github.com/ibm/ibm-cos-sdk-go to v1.14.0 (main) 
(#21063)
+  * fix(deps): update module golang.org/x/text to v0.35.0 (main) (#21158)
+  * fix(deps): update module charm.land/lipgloss/v2 to v2.0.2 (main) (#21143)
+  * fix(deps): update module github.com/aws/aws-sdk-go-v2/credentials to 
v1.19.12 (main) (#21092)
+  * fix(deps): update module github.com/aws/aws-sdk-go-v2/service/dynamodb to 
v1.56.2 (main) (#21093)
+  * fix(deps): update module github.com/buger/jsonparser to v1.1.2 [security] 
(main) (#21200)
+  * fix(deps): update module cloud.google.com/go/bigtable to v1.43.0 (main) 
(#21209)
+  * fix(query-engine): Fix OR operations being silently dropped  (#21204)
+  * fix(deps): update module k8s.io/apimachinery to v0.35.3 (main) (#21197)
+  * fix(deps): update module golang.org/x/oauth2 to v0.36.0 (main) (#21099)
+  * fix(deps): update module github.com/minio/minio-go/v7 to v7.0.99 (main) 
(#21096)
+  * fix(deps): update module github.com/apache/arrow-go/v18 to v18.5.2 (main) 
(#21052)
+  * chore(deps): update terraform google to v7.23.0 (main) (#21086)
+  * fix(deps): update module github.com/aws/smithy-go to v1.24.2 (main) 
(#21036)
+  * fix(deps): update module charm.land/bubbletea/v2 to v2.0.2 (main) (#21035)
+  * chore(deps): update dependency pytz to v2026 (main) (#21081)
+  * fix(deps): update module k8s.io/klog/v2 to v2.140.0 (main) (#21087)
+  * fix(deps): update module github.com/tjhop/slog-gokit to v0.1.6 (main) 
(#21080)
+  * fix(deps): update module github.com/baidubce/bce-sdk-go to v0.9.262 (main) 
(#21142)
+  * fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to 
v1.97.1 (main) (#21094)
+  * chore(deps): update terraform aws to ~> 6.36.0 (main) (#21104)
+  * fix(deps): update module github.com/pierrec/lz4/v4 to v4.1.26 (main) 
(#21109)
+  * chore(deps): update memcached docker tag to v1.6.41 (main) (#21121)
+  * fix(deps): update module github.com/parquet-go/parquet-go to v0.29.0 
(main) (#21156)
+  * fix(deps): update module cloud.google.com/go/storage to v1.61.3 (main) 
(#21161)
+  * chore(deps): update grafana/grafana docker tag to v12.4.1 (main) (#21150)
+  * fix: skip benchmark queries unsupported by v2 engine for goldfish 
comparison (#21186)
+  * feat: don't shuffle shard if shard factor is 1 (#21190)
+  * chore: move partitions calc to numPartitionsForRate (#21188)
+  * chore( operator): community release 0.10.0 (#20115)
+  * fix(Thor): Allow non-strict parsing with logfmt (#21013)
+  * chore(operator): prepare community release v0.10.0 (#21175)
+  * feat: use stream sharding within segment subrings (#21181)
+  * fix: WAL replay hang when flush doesn't progress (#21176)
+  * docs: Update RN for 3.5.12 (#21182)
+  * fix(operator): CI has now moved to Vault so reusable workflow doesn't need 
to ask for secrets (#21174)
+  * docs: document detected_fields and detected_field/{name}/values API e… 
(#20895)
+  * feat(query-engine): Omit labels with empty values (#21173)
+  * feat: early goldfish correlation ID generation with X-Loki-Goldfish-ID 
header (#21155)
+  * feat(helm): finalize chart fork (#21166)
+  * fix: broken get and replace for s3 client (#21163)
+  * chore: add remote correctness tests for live Loki endpoints (#21120)
+  * fix: sanitize User-Agent to valid UTF-8 before using as Prometheus label 
value (#21162)
+  * test: Add cache correctness test (#21113)
+  * fix(deps): update github.com/prometheus/prometheus digest to 8b25b26 
(main) (#21038)
+  * chore: Increase batch sizes for pointers reads (#20983)
+  * docs: fix two small typos (#21138)
+  * fix(operator): provide AWS region in environment variable for STS mode 
(#21136)
+  * docs: improve readability of helm chart values reference page (#21118)
+  * chore: update dataobj-inspect tool to work with latest dataobjs (#21145)
+  * chore: rename flushManager to flushCommitter to prepare for future changes 
(#21135)
+  * feat: add builder pool to logsobj package (#21134)
+  * chore: release loki helm chart 6.55.0 (#20855)
+  * chore: release loki helm chart 6.54.0 (#20754)
+  * refactor: Move batching to pipeline wrapper (#21123)
+  * chore: Improve level detection and best guess capability (#21132)
+  * chore: remove consumer package, no longer used (#21083)
+  * feat(helm): Add common labels to all resources (#20269)
+  * fix(helm): apply trafficDistribution setting to SingleBinary service 
(#20894)
+  * fix(helm): add support for disabling x509 strict verification in sidecar 
(#20818)
+  * feat(helm): Memcached: allow to override CPU in the auto-computed resource 
mode (#20767)
+  * fix(helm): ignore dots after first path segment when detecting image 
registry (#20695)
+  * fix(loki/single-binary): Add missing command to statefulset-recreate-job 
(#20556)
+  * fix(helm): make the loki-sc-rules sidecar container compatible with the 
most recent versions of k8s-sidecar (#20164)
+  * feat(helm): allow customization of write, read and backend PDB (#16871)
+  * fix(helm): fix syntax in loki-egress-dns CiliumNetworkPolicy manifest 
(#20221)
+  * docs: fix broken link (#21129)
+  * docs: Publish new TBSH landing page (#21076)
+  * docs: Adding one last error message (#21074)
+  * docs: cleanup formatting (#21071)
+  * feat(loki-query-engine): instrument query-engine with runtime/trace 
(#21000)
+  * docs: clarify max_chunk_age out-of-order window calculation (#21105)
+  * chore(bench): introduce metadata discovery tool (#21085)
+  * fix(goldfish): Normalize goldfish response (#21114)
+  * feat(loki): allow disabling cache for query_range requests (#21112)
+  * chore: use package private names for these types and funcs (#21111)
+  * feat: Add results cache to thor query engine (#20986)
+  * fix: allow blocking multiple query hashes (#21103)
+  * test: fixup related to entry iterator (#21070)
+  * chore: fix non-deterministic aggregator function (#21088)
+  * chore(test): fix flaky kafka test (#21089)
+  * fix: Add build tags to Promtail build commands (#19989)
+  * fix(operator): include Loki Operator in the Observability category in 
Operator Hub (#21084)
+  * fix(goldfish): support nulls in mismatch_cause (#21082)
+  * docs: update getting started with docker compose (#21079)
+  * docs: Troubleshooting API parameters (#21069)
+  * docs: Troubleshooting Pattern Ingester (#21068)
+  * docs: Troubleshooting Ingester Lifecycle (#21067)
+  * fix: prevent goroutine leak in downstreamer on context cancellation 
(#21062)
+  * docs: Troubleshooting WAL (#21061)
+  * docs: Troubleshooting Bloom Gateway (#21060)
+  * docs: Troubleshooting Kafka (#21057)
+  * docs: Troubleshooting ruler (#21056)
+  * feat: Add config to delegate stream limits check to limits-service only 
(#21007)
+  * docs: Troubleshooting Compactor (#21048)
+  * fix: typo - oki -> loki (#21051)
+  * docs: Troubleshooting index gateway (#21047)
+  * docs: Capitalization Fix - storage.md (#20251)
+  * docs: troubleshoot scheduler (#20843)
+  * chore(engine): ignore closed sources on bind (#20979)
+  * feat(operator)!: switch default for OpenShift stream labels (#21001)
+  * feat(engine): Dedupe entries when building final result (#21034)
+  * chore: while comparing log streams from query-tee, treat logs with same 
timestamp but different content ordered differently as a match (#21043)
+  * fix: duplicate lines with different structured metadata (#21039)
+  * docs: Troubleshoot DNS (#20842)
+  * docs: Troubleshooting TLS (#20841)
+  * docs: troubleshooting gRPC (#20840)
+  * fix(deps): update module github.com/hashicorp/consul/api to v1.33.4 (main) 
(#20961)
+  * fix(deps): update module github.com/charmbracelet/bubbles to v2 (main) 
(#21005)
+  * fix(deps): update module github.com/alicebob/miniredis/v2 to v2.37.0 
(main) (#21017)
+  * fix(deps): update module github.com/shirou/gopsutil/v4 to v4.26.2 (main) 
(#21031)
+  * fix(deps): update module github.com/ibm/sarama to v1.47.0 (main) (#21029)
+  * fix(deps): update github.com/prometheus/prometheus digest to 1751685 
(main) (#21028)
+  * fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to 
v1.96.2 (main) (#21025)
+  * chore(deps): update logstash docker tag to v9.3.1 (main) (#21024)
+  * chore(deps): update grafana/loki-build-image docker tag to v0.35.0 (main) 
(#21022)
+  * chore(deps): update terraform aws to ~> 6.34.0 (main) (#21020)
+  * chore(deps): update prom/prometheus docker tag to v3.10.0 (main) (#21019)
+  * fix(deps): update module google.golang.org/api to v0.269.0 (main) (#21014)
+  * chore(deps): update ruby docker tag to v4 (main) (#20383)
+  * fix(query-scheduler): Only do alignment for metric queries (#21030)
+  * fix(querytee): Compare parsed labels instead of structured metadata 
(#21018)
+  * fix(deps): update github.com/prometheus/prometheus digest to 3b1d658 
(main) (#21003)
+  * fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to 
v1.96.1 (main) (#20993)
+  * chore(deps): update terraform google to v7.21.0 (main) (#21012)
+  * chore(deps): update grafana/grafana docker tag to v12.4.0 (main) (#21004)
+  * fix(deps): update module github.com/aws/aws-sdk-go-v2/service/dynamodb to 
v1.56.0 (main) (#20995)
+  * fix(thor): Return empty log lines properly for the new engine (#20971)
+  * fix(deps): update module google.golang.org/api to v0.268.0 (main) (#20989)
+  * fix(deps): update module k8s.io/apimachinery to v0.35.2 (main) (#20997)
+  * fix(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.32.10 
(main) (#20991)
+  * fix(deps): update github.com/prometheus/prometheus digest to 02b1aba 
(main) (#20964)
+  * fix(deps): update module github.com/pressly/goose/v3 to v3.27.0 (main) 
(#20965)
+  * docs: Troubleshooting readiness (#20838)
+  * feat: Align start time when the query is received (#20967)
+  * feat(build): Move to Go 1.26 (#20988)
+  * chore(build): Tweaks to support golangci-lint 2.10.1 (#20985)
+  * fix(deps): update module github.com/parquet-go/parquet-go to v0.28.0 
(main) (#20973)
+  * ci: expose suite option, use exhaustive for cron (#20972)
+  * fix(deps): update module github.com/grafana/loki/v3 to v3.6.7 (main) 
(#20975)
+  * chore(loki): add more http2 errors (#20984)
+  * docs: Troubleshooting ring (#20810)
+  * fix(engine): fix additional instances of writing/reading on a closed conn 
(#20982)
+  * chore: query tee comparator telemetry improvements (#20849)
+  * perf(tsdb): don't fetch labels in TSDBIndex.GetChunkRefs (#20970)
+  * perf(tsdb): return full slice to pool after use (#20969)
+  * chore: Add S3 bucket configuration function for querycomparator (#20777)
+  * feat(operator): update metrics authentication to remove dependency on 
kube-rbac-proxy (#20853)
+  * fix(operator): properly handle the deprecated replicationFactor (#20935)
+  * fix(operator): fix incorrect image reference in olm bundle (#20966)
+  * perf(logql): use simpler function to drop empty labels (#20938)
+  * fix(deps): update github.com/prometheus/prometheus digest to c317f92 
(main) (#20958)
+  * fix(logql): return error on way-too-long label string (#20937)
+  * feat(limits): Add emptiness check to prepare for multiAZ (#20927)
+  * chore(thor): Parallel query engine correctness tests (#20811)
+  * chore(engine): don't observe task execution time if there's no assign time 
(#20956)
+  * chore(test): Address deadlock in mempool test (#20955)
+  * feat: Batch records before writing to sinks (#20821)
+  * chore(deps): update helm release rollout-operator to v0.43.0 (main) 
(#20905)
+  * chore(dataobj): prefetch during open for rowReaderDownloader (#20942)
+  * fix(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.32.9 
(main) (#20901)
+  * chore(deps): Scope renovate prometheus updates (#20954)
+  * chore(dataobj): add configurable prefetching (#20946)
+  * chore(thor): Disable admission lanes for non-log queries (#20947)
+  * build(operator): update Go to v1.25, dependencies, tools and CI (#20896)
+  * chore(operator): introduced dynamic VERSION to olm commands (#20774)
+  * fix(deps): update module github.com/datadog/sketches-go to v1.4.8 (main) 
(#20940)
+  * fix(deps): update module github.com/aws/smithy-go to v1.24.1 (main) 
(#20939)
+  * fix(deps): update module github.com/grafana/loki/v3 to v3.6.6 (main) 
(#20907)
+  * fix(deps): update module github.com/twmb/franz-go to v1.20.7 (main) 
(#20908)
+  * fix(deps): update module github.com/aws/aws-sdk-go-v2/credentials to 
v1.19.9 (main) (#20902)
+  * chore(deps): update terraform google to v7.20.0 (main) (#20899)
+  * fix(deps): update module cloud.google.com/go/bigtable to v1.42.0 (main) 
(#20737)
+  * chore(deps): update terraform aws to ~> 6.33.0 (main) (#20912)
+  * fix(deps): update module google.golang.org/api to v0.267.0 (main) (#20900)
+  * fix(deps): update module go.opentelemetry.io/collector/pdata to v1.52.0 
(main) (#20909)
+  * chore(deps): update fluent/fluent-bit docker tag to v4.2.3 (main) (#20911)
+  * chore(deps): Enable digest support for Prometheus updates (#20950)
+  * chore(deps): Disable renovate updates for push go.mod file (#20949)
+  * chore: add latency metric for objstore client (#20948)
+  * feat(operator): add option to customize gateway server cert  (#20325)
+  * chore(dataobj): add missing test for opening legacy object (#20943)
+  * chore: merge the responses from each backend in ring.go (#20877)
+  * feat: put kotel behind a flag (#20933)
+  * chore(thor): Performance optimization for aggregator (#20934)
+  * fix(test): Ensure timestamp test works in all timezones (#20916)
+  * fix(operator): dynamically configure networkpolicy when a Kubernetes 
service is used for object storage (#20111)
+  * docs: Release Notes 3.5.11 (#20929)
+  * docs: Release Notes 3.6.7 (#20928)
+  * fix(engine): align range-query evaluation timestamps to the step grid 
(#20904)
+  * chore: bump claude.yml too (#20922)
+  * chore: bump Claude Code to tag v1.0.55 (#20921)
+  * chore: use map instead of bloom filter as cache (#20882)
+  * fix: fix two skipped logql benchmark queries (#20897)
+  * fix(thor): Fix for column duplicates in consequent compat stages (#20893)
+  * fix(deps): use correct google.golang.org/genproto/googleapis/rpc 
transitive module (#20898)
+  * perf(dataset): use faster Uvarint implementation (#20824)
+  * fix(operator): add additional port to networkpolicy when using Swift 
(#20129)
+  * fix(alloc): set a limit on preallocations (#20891)
+  * chore: refactor the logql benchmark suite (#20845)
+  * fix(deps): update module google.golang.org/api to v0.266.0 (main) (#20483)
+  * fix(deps): update module github.com/redis/go-redis/v9 to v9.18.0 (main) 
(#20878)
+  * fix(deps): update module github.com/influxdata/telegraf to v1.37.2 (main) 
(#20707)
+  * chore(deps): update module filippo.io/edwards25519 to v1.1.1 [security] 
(main) (#20872)
+  * fix(deps): update module github.com/fsouza/fake-gcs-server to v1.54.0 
(main) (#20687)
+  * chore: Ignore errgroup context in decoder (#20880)
+  * chore: upgrade to prometheus@main (#20876)
+  * chore: disable the accepted stream cache while we continue to validate its 
effectivenss (#20879)
+  * chore(dataobj): restructure dataobjs to store metadata at the front of the 
file (#20865)
+  * fix: Reset lag for index builder when partitions change (#20825)
+  * chore(metastore): fix panic in index sections reader (#20875)
+  * chore(planner): apply parallelPushdown optimisation to valid aggregations  
(#20655)
+  * chore: use dedicated enabled flags (#20863)
+  * docs: update deployment-modes.md for ssd deprecation (#20869)
+  * docs: Update name to learning path (#20867)
+  * docs: fix link typo in 3.6 release (#20862)
+  * chore(engine): enable native histograms for engine execution phases 
(#20861)
+  * feat: refactor frontend cache, add metrics, filter out cached streams 
(#20860)
+  * fix(operator): always generate full set of condition metrics for each 
LokiStack (#19509)
+  * docs: Update version number (#20858)
+  * docs: 3.6.6 Release Notes (#20856)
+  * fix(deps): update module golang.org/x/tools to v0.42.0 (main) (#20796)
+  * chore: End index reader span on Close (#20854)
+  * chore(engine): add concurrency to Pipeline.Open (#20839)
+  * chore: remove deprecated metrics (#20844)
+  * chore: replace quartz with synctest (#20850)
+  * chore(metastore): fix metastore.indexSectionsReader Open semantics (#20835)
+  * docs: Troubleshooting cache (#20809)
+  * fix(deps): update module github.com/baidubce/bce-sdk-go to v0.9.260 (main) 
(#20816)
+  * chore(deps): update terraform google to v7.19.0 (main) (#20807)
+  * fix(deps): update module golang.org/x/text to v0.34.0 (main) (#20792)
+  * fix(deps): update module golang.org/x/net to v0.50.0 (main) (#20795)
+  * chore(deps): update grafana/grafana docker tag to v12.3.3 (main) (#20819)
+  * fix(deps): update module github.com/prometheus/alertmanager to v0.31.1 
(main) (#20815)
+  * fix(deps): update module google.golang.org/grpc to v1.79.1 (main) (#20813)
+  * chore(deps): update prom/alertmanager docker tag to v0.31.1 (main) (#20814)
+  * chore(deps): update terraform aws to ~> 6.32.0 (main) (#20828)
+  * docs: Troubleshooting storage (#20808)
+  * chore(xcap): leaner xcap API (#20771)
+  * chore(scheduler): assign tasks in per-worker loop (#20826)
+  * fix: use TrimSuffix over Trim (#20830)
+  * feat: add bloom filter to cache known streams for ExceedsLimits requests 
(#20823)
+  * fix(operator): configure to extract selectors to allow fine-grained auth 
in openshift-network mode (#19958)
+  * docs: Troubleshooting auth (#20806)
+  * fix(thor): incorrect empty records skipping  (#20812)
+  * docs: Troubleshooting config errors (#20805)
+  * docs: add drilldown troubleshooting (#20799)
+  * docs: multi-tenant development environment (#19650)
+  * chore: fix panic on read err in batchDecoratorReader (#20787)
+  * chore(deps): Remove references to 
github.com/prometheus/prometheus/tsdb/errors (#20794)
+  * chore(engine): fix streamsView.Open semantics (#20802)
+  * chore: Lower loglevel for transport is closing #7649 (#20803)
+  * chore: finish adding Open semantics in engine, metastore (#20798)
+  * chore: Lower loglevel for cancelled queries (#7649) (#20801)
+  * feat: Introduce a rate batcher to batch rate updates (#20784)
+  * chore(dataobj): Add Open semantics to section readers (#20790)
+  * fix(deps): update module github.com/charmbracelet/bubbles to v1 (main) 
(#20788)
+  * fix(deps): update module golang.org/x/sys to v0.41.0 (main) (#20759)
+  * fix(deps): update module k8s.io/apimachinery to v0.35.1 (main) (#20758)
+  * feat(operator): Update Loki operand to v3.6.5 (#20696)
+  * refactor(engine): introduce Pipeline.Open method (#20785)
+  * chore(dataobj): encode final dataobj size in dataobj metadata (#20769)
+  * fix: correctness failure for aggregations with a drop (#20782)
+  * docs: Update helm charts note with date (#20781)
+  * docs: Add SSD Deprecation notices (#20778)
++++ 790 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/loki/loki.changes
++++ and /work/SRC/openSUSE:Factory/.loki.new.21863/loki.changes

Old:
----
  loki-3.6.8.obscpio

New:
----
  loki-3.7.1.obscpio

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

Other differences:
------------------
++++++ loki.spec ++++++
--- /var/tmp/diff_new_pack.YRsIz0/_old  2026-04-09 16:23:27.403331050 +0200
+++ /var/tmp/diff_new_pack.YRsIz0/_new  2026-04-09 16:23:27.403331050 +0200
@@ -27,7 +27,7 @@
 %global promtail_binaries promtail
 
 Name:           loki
-Version:        3.6.8
+Version:        3.7.1
 Release:        0
 Summary:        Loki: like Prometheus, but for logs
 License:        Apache-2.0
@@ -116,43 +116,57 @@
 for i in %{loki_public_binaries} %{?loki_internal_binaries}  ; do
   go build -ldflags="$GOLDFLAGS" ./cmd/${i}
 done
+%if %{with promtail}
 CGO_ENABLED=1 go build -ldflags="$GOLDFLAGS" 
--tags=promtail_journal_enabled,netgo ./clients/cmd/promtail
+%endif
 
-#check
+%check
 ./lokitool version
-for i in %{loki_public_binaries} %{?loki_internal_binaries} 
%{promtail_binaries} ; do
+for i in %{loki_public_binaries} %{?loki_internal_binaries} ; do
   if [ "x${i}" != "xlokitool" -a "x${i}" != "xlogql-analyzer" ] ; then
 ./${i} --version
   fi
 done
 
-%install
+%if %{with promtail}
+./promtail --version
+%endif
 
+%install
 # Service files for Loki and promtail
 install -Dm644 %{SOURCE1} %{buildroot}%{_unitdir}/loki.service
-install -Dm644 %{SOURCE2} %{buildroot}%{_unitdir}/promtail.service
 install -Dm644 %{SOURCE5} %{buildroot}%{_unitdir}/[email protected]
-install -Dm644 %{SOURCE6} %{buildroot}%{_unitdir}/[email protected]
 install -Dm644 %{SOURCE7} %{buildroot}%{_unitdir}/loki.target
-install -Dm644 %{SOURCE8} %{buildroot}%{_unitdir}/promtail.target
 
 install -Dm644 %{SOURCE3} %{buildroot}%{_fillupdir}/sysconfig.loki
-install -Dm644 %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.promtail
 
 install -dm755 %{buildroot}%{_sbindir}
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcloki
-ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcpromtail
 
 # Config files
 install -Dm640 cmd/loki/loki-local-config.yaml \
     %{buildroot}%{_sysconfdir}/loki/loki.yaml
+
+%if %{with promtail}
+install -Dm644 %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.promtail
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcpromtail
+
+install -Dm644 %{SOURCE2} %{buildroot}%{_unitdir}/promtail.service
+install -Dm644 %{SOURCE8} %{buildroot}%{_unitdir}/promtail.target
+install -Dm644 %{SOURCE6} %{buildroot}%{_unitdir}/[email protected]
+
 install -Dm640 clients/cmd/promtail/promtail-local-config.yaml \
     %{buildroot}%{_sysconfdir}/loki/promtail.yaml
+%endif
 
 # Binaries
-install -D -m 0755 -t %{buildroot}%{_bindir} %{loki_public_binaries} 
%{?loki_internal_binaries} %{promtail_binaries}
+install -D -m 0755 -t %{buildroot}%{_bindir} %{loki_public_binaries} 
%{?loki_internal_binaries}
+install -D -m 0750 -d %{buildroot}%{loki_datadir} %{buildroot}%{loki_logdir}
 
-install -D -m 0750 -d %{buildroot}%{promtail_datadir} 
%{buildroot}%{loki_datadir} %{buildroot}%{loki_logdir}
+%if %{with promtail}
+install -D -m 0755 -t %{buildroot}%{_bindir} %{promtail_binaries}
+install -D -m 0750 -d %{buildroot}%{promtail_datadir}
+%endif
 
 %pre
 %service_add_pre %{loki_services}
@@ -165,8 +179,13 @@
 %service_del_preun %{loki_services}
 
 %postun
-%service_del_postun %{loki_services} %{promtail_services}
+%service_del_postun %{loki_services} \
+%if %{with promtail}
+%{promtail_services} \
+%endif
+%{nil}
 
+%if %{with promtail}
 %pre -n promtail
 %service_add_pre %{promtail_services}
 
@@ -179,6 +198,7 @@
 
 %postun -n promtail
 %service_del_postun %{promtail_services}
+%endif
 
 %files
 %license LICENSE
@@ -196,6 +216,7 @@
 %dir %attr(-,loki,loki) %{loki_datadir}/
 %dir %attr(-,loki,loki) %{loki_logdir}/
 
+%if %{with promtail}
 %files -n promtail
 %{_unitdir}/promtail.target
 %{_unitdir}/promtail.service
@@ -206,6 +227,7 @@
 %config(noreplace) %{_sysconfdir}/loki/promtail.yaml
 %{_sbindir}/rcpromtail
 %dir %{promtail_datadir}/
+%endif
 
 %files -n logcli
 %license LICENSE

++++++ _service ++++++
--- /var/tmp/diff_new_pack.YRsIz0/_old  2026-04-09 16:23:27.467333684 +0200
+++ /var/tmp/diff_new_pack.YRsIz0/_new  2026-04-09 16:23:27.475334013 +0200
@@ -7,7 +7,7 @@
     <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param>
     -->
     <param name="versionformat">@PARENT_TAG@</param>
-    <param name="revision">v3.6.8</param>
+    <param name="revision">v3.7.1</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="submodules">disable</param>
     <param name="changesgenerate">enable</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.YRsIz0/_old  2026-04-09 16:23:27.503335165 +0200
+++ /var/tmp/diff_new_pack.YRsIz0/_new  2026-04-09 16:23:27.511335495 +0200
@@ -3,6 +3,6 @@
                 <param name="url">git://github.com/grafana/loki.git</param>
               <param 
name="changesrevision">525040a3265715ca8cfb52cd39108ccfac9f8af6</param></service><service
 name="tar_scm">
                 <param name="url">https://github.com/grafana/loki.git</param>
-              <param 
name="changesrevision">138c391fd0237b8bf1eb9ecf9eb14d8ce04727c5</param></service></servicedata>
+              <param 
name="changesrevision">2c8fff222bab6813374b973ae0eb49043d3ed14e</param></service></servicedata>
 (No newline at EOF)
 

++++++ loki-3.6.8.obscpio -> loki-3.7.1.obscpio ++++++
/work/SRC/openSUSE:Factory/loki/loki-3.6.8.obscpio 
/work/SRC/openSUSE:Factory/.loki.new.21863/loki-3.7.1.obscpio differ: char 21, 
line 1

++++++ loki.obsinfo ++++++
--- /var/tmp/diff_new_pack.YRsIz0/_old  2026-04-09 16:23:27.579338294 +0200
+++ /var/tmp/diff_new_pack.YRsIz0/_new  2026-04-09 16:23:27.583338458 +0200
@@ -1,5 +1,5 @@
 name: loki
-version: 3.6.8
-mtime: 1774443743
-commit: 138c391fd0237b8bf1eb9ecf9eb14d8ce04727c5
+version: 3.7.1
+mtime: 1774557647
+commit: 2c8fff222bab6813374b973ae0eb49043d3ed14e
 

++++++ proper-data-directories.patch ++++++
++++ 1202 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/loki/proper-data-directories.patch
++++ and 
/work/SRC/openSUSE:Factory/.loki.new.21863/proper-data-directories.patch

Reply via email to