Bug 33168 - Некорректное добавление changelog при наличии Packager
Summary: Некорректное добавление changelog при наличии Packager
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-build-ubt (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Sergey V Turchin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-23 16:57 MSK by Evgeny Sinelnikov
Modified: 2017-02-28 06:18 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeny Sinelnikov 2017-02-23 16:57:14 MSK
На примере userpasswd выянислось, что ubt-addchangelog добавляет в changelog имя Packager'а из spec-файла, даже если пакет собирается и другим разработчиком.

$ girar-show 178548
2017-Feb-23 12:25:36 :: task #178548 for sisyphus started by sin:
#100 build 1.7.1-alt1 from /people/sin/packages/pam-config.git
#200 build 0.3.0-alt1%ubt from /people/sin/packages/userpasswd.git
2017-Feb-23 12:25:57 :: created build repo
2017-Feb-23 12:25:59 :: [i586] #100 pam-config.git 1.7.1-alt1: build start
2017-Feb-23 12:25:59 :: [x86_64] #100 pam-config.git 1.7.1-alt1: build start
2017-Feb-23 12:27:07 :: [i586] #100 pam-config.git 1.7.1-alt1: build OK
2017-Feb-23 12:27:07 :: [i586] #200 userpasswd.git 0.3.0-alt1%ubt: build start
2017-Feb-23 12:27:09 :: [x86_64] #100 pam-config.git 1.7.1-alt1: build OK
2017-Feb-23 12:27:09 :: [x86_64] #200 userpasswd.git 0.3.0-alt1%ubt: build start
2017-Feb-23 12:28:23 :: [x86_64] #200 userpasswd.git 0.3.0-alt1%ubt: build OK
2017-Feb-23 12:28:25 :: [i586] #200 userpasswd.git 0.3.0-alt1%ubt: build OK
userpasswd-0.3.0-alt1.S1.i586.rpm: changelog name (ldv@) does not match expected name (sin@)
userpasswd-debuginfo-0.3.0-alt1.S1.i586.rpm: changelog name (ldv@) does not match expected name (sin@)
userpasswd-0.3.0-alt1.S1.src.rpm: changelog name (ldv@) does not match expected name (sin@)
2017-Feb-23 12:28:33 :: userpasswd.git 0.3.0-alt1%ubt: changelog name check FAILED
2017-Feb-23 12:28:33 :: build check FAILED for #200
2017-Feb-23 12:28:34 :: build check FAILED
2017-Feb-23 12:28:34 :: task #178548 for sisyphus FAILED

$ ssh girar task show
id=178548 locked=no shared=no test_only=no repo=sisyphus owner=sin state=FAILED try=1 iter=1
 100:dir=/people/sin/packages/pam-config.git
 100:tag_name=1.7.1-alt1
 100:tag_id=762653591e385bf3e7b08c21de82d1d41c05c52b
 100:tag_author=Evgeny Sinelnikov (Sin) <sin@altlinux.org>
 100:userid=sin
 100:pkgname=pam-config
 200:dir=/people/sin/packages/userpasswd.git
 200:tag_name=0.3.0-alt1%ubt
 200:tag_id=8f4236e9035bbc05032faec2577b0f2b8ae33bea
 200:tag_author=Evgeny Sinelnikov (Sin) <sin@altlinux.org>
 200:userid=sin

$ git show 8f4236e9035bbc05032faec2577b0f2b8ae33bea
Tagger: Evgeny Sinelnikov <sin@altlinux.ru>
Date:   Thu Feb 23 16:15:17 2017 +0400

userpasswd 0.3.0-alt1%ubt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAliu0lUACgkQHC/AO6kh2sq4igCeN9MhXfRRQNItZ3qrUuf5kMWP
dggAoPH+JerGmQByiakrwoEvTMev4neU
=GwjL
-----END PGP SIGNATURE-----

commit 5a373c133ce7c9cdba627a5676b7445abe15a5b7
Author: Evgeny Sinelnikov <sin@altlinux.ru>
Date:   Thu Feb 23 16:15:08 2017 +0400

    0.3.0-alt1%ubt
    
    - Support Kerberos password with pam_krb5

diff --git a/userpasswd/userpasswd.spec b/userpasswd/userpasswd.spec
index 4315175..a90d821 100644
--- a/userpasswd/userpasswd.spec
+++ b/userpasswd/userpasswd.spec
@@ -1,6 +1,6 @@
 Name: userpasswd
-Version: 0.2.10
-Release: alt3.qa1
+Version: 0.3.0
+Release: alt1%ubt
 
 Group: System/Configuration/Other
 Summary: The graphical tool for changing password
@@ -12,6 +12,8 @@ Source: %name-%version.tar
 Conflicts: usermode
 BuildRequires: libgtk+2-devel
 
+BuildRequires(pre):rpm-build-ubt
+
 %description
 Install this package if you would like to provide users with
 graphical tool for changing password.
@@ -34,6 +36,9 @@ graphical tool for changing password.
 %_datadir/pixmaps/*
 
 %changelog
+* Thu Feb 23 2017 Dmitry V. Levin <ldv@altlinux.org> 0.3.0-alt1%ubt
+- Support Kerberos password with pam_krb5
+
 * Wed Apr 17 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 0.2.10-alt3.qa1
 - NMU: rebuilt for debuginfo.
Comment 1 Sergey V Turchin 2017-02-27 12:11:55 MSK
rpm-build-ubt-0.3-alt1
Comment 2 Evgeny Sinelnikov 2017-02-28 06:18:20 MSK
Спасибо!