Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macros inside Source are expanded incorrectly #34

Open
mikhailnov opened this issue Feb 2, 2022 · 0 comments
Open

Macros inside Source are expanded incorrectly #34

mikhailnov opened this issue Feb 2, 2022 · 0 comments

Comments

@mikhailnov
Copy link
Contributor

Берем такой спек:

%global goipath github.com/OpenPrinting/goipp
%global golicenses LICENSE
%global godocs README.md index.md

Summary:	IPP core protocol in pure Go (RFC 8010)
Name:		golang-github-openprinting-goipp
Group:		Development/Other
License:	BSD
Version:	1.0.0
Release:	1
Url:		%{gourl}
Source0:	%{gosource}
BuildRequires:	go-srpm-macros
%gometa

%description
Package goipp implements the IPP core protocol in pure Go (RFC 8010).

%gopkg
%gopkgfiles

#-----------------------------------------------------------------------

%prep
%goprep

%install
%gopkginstall

%check
%gocheck

Делаем spectool -g *.spec - работает, делаем abf put - не работает:
$ abf put -n
ошибка: файл %{gosource} (Source0) не существует, пропускаем!
При загрузке произошли ошибки, останавливаем работу.

Оно, наверное, как-то неродными для rpm средствами распарсивает спек.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant