-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
spec-file #92
spec-file #92
Conversation
redhat/pimd.spec
Outdated
@@ -24,6 +24,7 @@ RFC 2362 with a few noted exceptions (see the RELEASE.NOTES for details). | |||
|
|||
|
|||
%build | |||
./autogen.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The autogen.sh
script should only be run when building directly from GIT. In released versions the configure script and Makefile.in files exist in the tarball. Could you add some sort of "if configure does not exist; then autogen"?
redhat/pimd.spec
Outdated
@@ -45,7 +46,7 @@ make %{?_smp_mflags} | |||
|
|||
%files | |||
%defattr(-,root,root,-) | |||
%doc AUTHORS CREDITS FAQ INSTALL LICENSE LICENSE.mrouted README README.config README.config.jp README.debug RELEASE.NOTES TODO | |||
%doc AUTHORS CREDITS LICENSE LICENSE.mrouted RELEASE.NOTES |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can drop CREDITS and RELEASE.NOTES as well, and include the ChangeLog PDF and/or .org file instead.
Looks good. I can merge it as soon as you've addressed the comments I made :) |
Hi Joachim,
If you build the rpm (with rpmbuild -ba pimd.spec) the source is retrieved from github and build in a temporary directory.
Because the source is always freshly downloaded, the autogen.sh needs always to be run. I've just tested it and commented the autogen.sh line out and then the rpmbuild fails.
Best regards,
Sjoerd.
________________________________
From: Joachim Nilsson <notifications@github.com>
Sent: Tuesday, February 28, 2017 5:45 PM
To: troglobit/pimd
Cc: oeboema; Author
Subject: Re: [troglobit/pimd] spec-file (#92)
@troglobit commented on this pull request.
________________________________
In redhat/pimd.spec<#92 (comment)>:
@@ -24,6 +24,7 @@ RFC 2362 with a few noted exceptions (see the RELEASE.NOTES for details).
%build
+./autogen.sh
The autogen.sh script should only be run when building directly from GIT. In released versions the configure script and Makefile.in files exist in the tarball. Could you add some sort of "if configure does not exist; then autogen"?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#92 (review)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AY4hrbGLkMc8waWTR8vXR-IpbC9m6Xf4ks5rhE8ugaJpZM4MOnBN>.
|
I was merely questioning whether a packager normally builds from a released version of a software or In a released version, when downloading a pimd-1.2.3.tar.gz, there is already a configure script. |
OK, I've checked now how this is handled in other projects. If the
This would make it possible to build Furthermore, it also seems to be recommended to use
|
@oeboema What do you think of my proposal, do you think you could add it to your pull-request? |
Hi Joachim,
I will give this a try.
Best regards,
Sjoerd.
…________________________________
From: Joachim Nilsson <notifications@github.com>
Sent: Tuesday, March 7, 2017 10:05 PM
To: troglobit/pimd
Cc: oeboema; Mention
Subject: Re: [troglobit/pimd] spec-file (#92)
@oeboema<https://github.com/oeboema> What do you think of my proposal, do you think you could add it to your pull-request?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#92 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AY4hrefuYeTFXD2-0nF-BlzGeKk1Wkjnks5rjcangaJpZM4MOnBN>.
|
Hi, I've added the check you've requested. My rpm still builds succesful. Best regards, |
@oeboema Great! 👍 How about the recommended |
Hi,
I've fixed the pimd.spec file. It now builds correctly on my CentOS 6.7 machine.
Best regards,
Sjoerd Boomstra,
Telecats.