[Rpm-maint] [rpm-software-management/rpm] Enhance requires with version information from the build root. (PR #2372)
Gordon Messmer
notifications at github.com
Mon Feb 6 07:45:32 UTC 2023
@gordonmessmer commented on this pull request.
> + * a copy of the version number.
+ */
+static char *getLibtoolVer(const char *filename)
+{
+ const char *so;
+ char dest[PATH_MAX];
+ int destsize = 0;
+ int found_digit = 0, found_dot = 0;
+
+ destsize = readlink(filename, dest, PATH_MAX);
+ if (destsize > 0) {
+ dest[destsize] = 0;
+ filename = dest;
+ }
+ // Start from the end of the string. Verify that it ends with
+ // numbers and dots, preceded by ".so.".
I'll follow up on each of those items tomorrow. Thanks for the feedback!
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2372#discussion_r1097034900
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2372/review/1284684607 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230205/bf1fd510/attachment-0001.html>
More information about the Rpm-maint
mailing list