[Bug 2176241] Review Request: golang-github-zcalusic-sysinfo - Sysinfo is a Go library providing Linux OS / kernel / hardware system information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2176241



--- Comment #14 from Mikel Olasagasti Uranga <mikel@xxxxxxxxxxxxxxx> ---
If I download the "SRPM URL" .src.rpm file, using link in comment #12, I still
see the rpmautospec block at the top and the changelog.

fedora-review also reports the issue:

Diff spec file in url and in SRPM
---------------------------------
---
/tmp/2176241-golang-github-zcalusic-sysinfo/srpm/golang-github-zcalusic-sysinfo.spec
       2023-03-14 16:53:58.632705568 +0100
+++
/tmp/2176241-golang-github-zcalusic-sysinfo/srpm-unpacked/golang-github-zcalusic-sysinfo.spec
      2023-03-14 16:34:25.000000000 +0100
@@ -1,2 +1,12 @@
+## START: Set by rpmautospec
+## (rpmautospec version 0.3.5)
+## RPMAUTOSPEC: autorelease, autochangelog
+%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
+    release_number = 1;
+    base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
+    print(release_number + base_release_number - 1);
+}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
+## END: Set by rpmautospec
+
 # Generated by go2rpm 1.9.0
 %bcond_without check
@@ -50,3 +60,4 @@

 %changelog
-%autochangelog
+* Tue Mar 14 2023 Link Dupont <link@xxxxxxxxxxx> - 0.9.5-1
+- Intitial package


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2176241
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux