Re: [Rpm-maint] [rpm-software-management/rpm] [feature-request] %{SOURCENAME$} macro (#1197)

2020-04-26 Thread Damian Ivanov
I tried that, it didn't work at first, now copying it from here it does... Thanks Neal. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] [feature-request] %{SOURCENAME$} macro (#1197)

2020-04-26 Thread Damian Ivanov
Closed #1197. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1197#event-3272939316___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] [feature-request] %{SOURCENAME$} macro (#1197)

2020-04-26 Thread ニール・ゴンパ
Wouldn't `%{basename:%{SOURCE0}}` do the trick? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1197#issuecomment-619544129___

Re: [Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: New test suite and various updates and fixes (#1195)

2020-04-26 Thread ニール・ゴンパ
@Conan-Kudo requested changes on this pull request. > + + +if __name__ == "__main__": +"""To allow this script to be importable (and its classes/functions + reused), actions are performed only when run as a main script.""" + +parser = argparse.ArgumentParser(prog=argv[0]) +

[Rpm-maint] [rpm-software-management/rpm] [feature-request] %{SOURCENAME$} macro (#1197)

2020-04-26 Thread Damian Ivanov
Multiple times came across situations where it would be handy to have %{SOURCENAME} macros for the SOURCES. ``` Name: test Version:1.0 Release:0 Source0:myfile %description test package %prep %build mkdir -p %{buildroot}%{_prefix}/MyDirectory/ install -m 0755