Re: [Rpm-maint] [rpm-software-management/rpm] %defattr(644, root, root, 755) -> %_defaultdocdir gets perm 644 (#162)

2017-02-21 Thread Panu Matilainen
Closed #162.

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


Re: [Rpm-maint] [rpm-software-management/rpm] %defattr(644, root, root, 755) -> %_defaultdocdir gets perm 644 (#162)

2017-02-21 Thread Panu Matilainen
Yes.  It's also been already fixed in both git master (commit 
bde88ada3a0fbd17f9b5db9fb5426eb0f1ff5efd) and the just released rpm 4.13.0.1 
(http://rpm.org/wiki/Releases/4.13.0.1).

Thanks for the report though :)

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


[Rpm-maint] [rpm-software-management/rpm] %defattr(644, root, root, 755) -> %_defaultdocdir gets perm 644 (#162)

2017-02-20 Thread Dominique Leuenberger
There seems to be a weird regression in rpm 4.13.

If a package contains

```
%files
%defattr*644,root,root,755)
%doc README
```

then the file README is copied to %{_defaultdocdir}/%{name} as expected, but 
said directory is assigned permission 644 (instead of 755). This used to work 
correct with rpm 4.12

rpm 4.12:
```
rpm -qlvp test-0-0.x86_64.rpm
drwxr-xr-x2 rootroot0 Feb 20 23:13 
/usr/share/doc/packages/test
-rw-r--r--1 rootroot   11 Feb 20 23:13 
/usr/share/doc/packages/test/dummy
```
rpm 4.13:
```
rpm -qlvp test-0-0.x86_64.rpm 
drw-r--r--2 rootroot0 Feb 20 23:19 
/usr/share/doc/packages/test
-rw-r--r--1 rootroot   11 Feb 20 23:19 
/usr/share/doc/packages/test/dummy
```
 


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