nginxinc / nginx-ldap-auth

Example of LDAP authentication using ngx_http_auth_request_module
BSD 2-Clause "Simplified" License
681 stars 202 forks source link

RPM build fails when installing nginx-ldap-auth.logrotate #33

Closed lesinigo closed 6 years ago

lesinigo commented 6 years ago

Trying to build an RPM from the current master I get:

+ install -m644 nginx-ldap-auth.logrotate /root/rpmbuild/BUILDROOT/nginx-ldap-auth-0.0.3-1.el7.centos.x86_64/etc/logrotate.d/nginx-ldap-auth
install: cannot create regular file '/root/rpmbuild/BUILDROOT/nginx-ldap-auth-0.0.3-1.el7.centos.x86_64/etc/logrotate.d/nginx-ldap-auth': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.dF42L5 (%install)
vl-homutov commented 6 years ago

Thanks for reporting, we'll fixe the issue with directories.

lesinigo commented 6 years ago

it is already fixed (at least for me) by pull request #34, please take a look at that and merge it if it looks good to you

oxpa commented 6 years ago

pull request is accepted. Spec won't work for non-systemd distro, but that is a separate issue.