ClusterLabs/pcs

错误:问题来源: /mnt/pcs/rpm/pcs-0.10.14-dirty-dirty.tar.gz: 没有那个文件或目录

Closed this issue · 2 comments

When I execute“make rpm”,It comes an error,I check the Makefile,It includes "PACKAGE_VERSION = 0.10.14-dirty",
but pcs.spec.in file has "Source0: %{name}-%{version}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}.tar.gz",It seems that two variables conflict,what can I do?

Hi @ashore1992,

Based on the '-dirty' in version, it looks like you have uncommitted changes. Building rpms is disallowed in such case. Try committing all changes you made. You don't need to push the commit anywhere or create a pull request, just commit the changes locally. Then run git clean -xfd to get rid of build artifacts from previous attempts. With clean repository, run ./autogen.sh, ./configure and make again.

I'm closing this issue for inactivity. If you don't consider the original question resolved and / or you are not satisfied with the answer, feel free to reopen the issue.