Re: [Rpm-maint] [rpm-software-management/rpm] Extend %changelog to accept filename. (#393)

2018-02-12 Thread Vít Ondruch
Actually, if ```%include``` automatically included the referenced file into 
SRPM, that would be helpful as well. I realize, that the path could be 
arbitrary, but if there was restriction, that could work ...

-- 
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/393#issuecomment-364985530___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] Extend %changelog to accept filename. (#393)

2018-02-12 Thread Vít Ondruch
Currently, the changelog entries can be either listed in a .spec file or they 
could be included by ```%include``` directive. However, usage of the 
```%include``` has one major downside, that the included file must be 
explicitly listed as one of sources, otherwise the file would not be available 
for build from SRPM.

Would it be possible to extend the ```%changelog``` section, so it would accept 
```-f``` parameter with filename. If that file was available, it would do two 
things:

1. Liste the content of that file as changelog
2. Include that file in generated SRPM

That would give a way to remove the long ```%changelog``` sections from .spec 
files, making it more readable and it would enable to autogenerate the 
%changelog entries from SCM logs.

-- 
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/393___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Finer-grained symbol dependencies (#362)

2018-02-12 Thread Panu Matilainen
Yeah set versions is no doubt clever. Problem is it's too clever for my taste. 
Call me a chicken anytime you like but I'm not this thing in: 
http://git.altlinux.org/gears/r/rpm.git?p=rpm.git;a=blob;f=lib/set.c;h=9474a2ee6d7c9ce321d131cc310bfb4e80bdc6e4;hb=HEAD

-- 
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/362#issuecomment-364926552___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Finer-grained symbol dependencies (#362)

2018-02-12 Thread Panu Matilainen
Closed #362.

-- 
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/362#event-1469470480___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Mono dependencies are not always completely accurate (#185)

2018-02-12 Thread Florian Festi
Reading the linked issue that might be a problem with how fsharp was handling 
their symbols. I really don't know what to do here. Closing for now. Feel free 
to reopen if new details emerge.

-- 
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/185#issuecomment-364926190___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Mono dependencies are not always completely accurate (#185)

2018-02-12 Thread Florian Festi
Closed #185.

-- 
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/185#event-1469468134___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] RFE: make possible to pass multiple dirs to `_*dir` macro (#352)

2018-02-12 Thread Panu Matilainen
NAK for paths, it creates more problems than it solves.

Having rpm default to a modern dist-git style layout (or a trivial one-liner 
way to enable it) would be more useful.

-- 
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/352#issuecomment-364923287___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] RFE: make possible to pass multiple dirs to `_*dir` macro (#352)

2018-02-12 Thread Panu Matilainen
Closed #352.

-- 
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/352#event-1469447590___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] _debugsource_packages break tests (#277)

2018-02-12 Thread Panu Matilainen
Closed #277.

-- 
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/277#event-1469399085___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] _debugsource_packages break tests (#277)

2018-02-12 Thread Panu Matilainen
I guess there was a point where distro settings would mess our test-suite, but 
that's no longer the case. Other than that, we'll just fix the tests if/when 
start defaulting to debugsource on. 

-- 
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/277#issuecomment-364916482___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] RFC: standard macro syntax for macro files (#309)

2018-02-12 Thread Panu Matilainen
The declarative macro files are fine the way they are, we don't want spec 
parser-style complex conditionals in rpm configuration.

A more productive path might be having a kind of include path that you could 
use from specs, think of eg `%include `. I think there's a bug/ticket 
for something like that someplace but can't seem to find it atm. Anyway, 
closing this one as I don't see us changing the macro file syntax.


-- 
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/309#issuecomment-364913720___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] RFC: standard macro syntax for macro files (#309)

2018-02-12 Thread Panu Matilainen
Closed #309.

-- 
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/309#event-1469378396___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Fix error message for rpmlock (#355), by removing dead code (#358)

2018-02-12 Thread Alan Jenkins
I guess I got a bit lost between them all.  Thanks for the fix :).

-- 
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/pull/358#issuecomment-364911042___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Python tests are running even python support is disabled (#264)

2018-02-12 Thread Panu Matilainen
Same with Lua support, although those tests are more scattered around.

-- 
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/264#issuecomment-364910017___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Add optional Class: attribute into Preamble (#236)

2018-02-12 Thread Panu Matilainen
Closed #236.

-- 
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/236#event-1469344602___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Add optional Class: attribute into Preamble (#236)

2018-02-12 Thread Panu Matilainen
Yeah, Group already exists and yet nobody these days sees it as serving 
anything useful, so adding another classifier tag doesn't seem that productive.

-- 
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/236#issuecomment-364909049___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Request to apply IMA signatures to files even if deemed a configuration file (#364)

2018-02-12 Thread Panu Matilainen
Closed #364.

-- 
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/364#event-1469283490___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Request to apply IMA signatures to files even if deemed a configuration file (#364)

2018-02-12 Thread Panu Matilainen
Yeah it's a bit strange - those "config files" are not supposed to be changed 
then they're not really config files, are they? Anyway, commit 
99887fec108110f0c85c060fcce48d13f807d058 added a mode where you can sign the 
configs too if you so wish.

-- 
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/364#issuecomment-364900662___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] python-macro-helper should not have shebang and x flag (#387)

2018-02-12 Thread Panu Matilainen
Fixed in commit faf7d87fda3456382cf161ff11a2ad8e00ae4ab0, thanks for the report

-- 
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/387#issuecomment-364898947___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Python module's name changed unnecessarily, making it impossible to express dependencies on it (#373)

2018-02-12 Thread Panu Matilainen
Closed #373.

-- 
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/373#event-1469261044___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Fix error message for rpmlock (#355), by removing dead code (#358)

2018-02-12 Thread Panu Matilainen
Oh, I copied the new message to the ticket but not the commit, doh. Anyway:
```
$ ./rpm -e mlocate < /dev/null
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission 
denied)
```

-- 
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/pull/358#issuecomment-364897047___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] adding `exit 0` in %install makes debuginfo to not generate (#315)

2018-02-12 Thread Florian Festi
Yes. Don't do that!

-- 
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/315#issuecomment-364895755___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Fix error message for rpmlock (#355), by removing dead code (#358)

2018-02-12 Thread Alan Jenkins
Your commit shows the old message, but not the new one.  What does it show now? 
 If I'm decoding my past self's comments correctly, I was concerned not to have 
the message be EBADF since that also seems  quite puzzling.

-- 
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/pull/358#issuecomment-364895839___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] adding `exit 0` in %install makes debuginfo to not generate (#315)

2018-02-12 Thread Florian Festi
Closed #315.

-- 
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/315#event-1469249127___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Fix error message for rpmlock (#355), by removing dead code (#358)

2018-02-12 Thread Panu Matilainen
Fixed by restoring errno around isatty() instead in commit 
b89eb35c6034d43a8048ac9d452a1921596071a7

-- 
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/pull/358#issuecomment-364894671___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] rpm without TTY gives wrong error message (#355)

2018-02-12 Thread Panu Matilainen
Closed #355.

-- 
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/355#event-1469240148___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] rpm without TTY gives wrong error message (#355)

2018-02-12 Thread Panu Matilainen
First part was already fixed in commit 
df053dd36461042e4d11a21a97e9be9058204658, second half now in commit 
b89eb35c6034d43a8048ac9d452a1921596071a7:

```
[pmatilai@sopuli rpm]$ ./rpm -e mlocate
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission 
denied)
[pmatilai@sopuli rpm]$ ./rpm -e mlocate < /dev/null
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission 
denied)
```

-- 
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/355#issuecomment-364894509___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] RFE: BuildRequires generator (#104)

2018-02-12 Thread Pavel Raiskup
If we had `%build_requires -f 

Re: [Rpm-maint] [rpm-software-management/rpm] Also apply signatures to config files (#374)

2018-02-12 Thread Panu Matilainen
Merged, thanks for the patch.

-- 
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/pull/374#issuecomment-364853667___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Also apply signatures to config files (#374)

2018-02-12 Thread Panu Matilainen
Merged #374.

-- 
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/pull/374#event-1468954438___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint