Used unversioned doc directory
Resolves: rhbz#994090
This commit is contained in:
parent
ba90bcf7b0
commit
ea71ef93b2
@ -23,7 +23,7 @@
|
|||||||
Summary: A widely used Mail Transport Agent (MTA)
|
Summary: A widely used Mail Transport Agent (MTA)
|
||||||
Name: sendmail
|
Name: sendmail
|
||||||
Version: 8.14.7
|
Version: 8.14.7
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: Sendmail
|
License: Sendmail
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.sendmail.org/
|
URL: http://www.sendmail.org/
|
||||||
@ -314,9 +314,9 @@ rm -rf %{buildroot}
|
|||||||
# create directories
|
# create directories
|
||||||
for d in %{_bindir} %{_sbindir} %{_includedir}/libmilter \
|
for d in %{_bindir} %{_sbindir} %{_includedir}/libmilter \
|
||||||
%{_libdir} %{_mandir}/man{1,5,8} %{maildir} %{stdir} %{spooldir} \
|
%{_libdir} %{_mandir}/man{1,5,8} %{maildir} %{stdir} %{spooldir} \
|
||||||
%{_docdir}/sendmail-%{version} %{sendmailcf} %{_sysconfdir}/smrsh\
|
%{_docdir}/sendmail %{sendmailcf} %{_sysconfdir}/smrsh\
|
||||||
%{spooldir}/clientmqueue %{_sysconfdir}/sysconfig %{_initrddir} \
|
%{spooldir}/clientmqueue %{_sysconfdir}/sysconfig %{_initrddir} \
|
||||||
%{_sysconfdir}/pam.d %{_docdir}/sendmail-%{version}/contrib \
|
%{_sysconfdir}/pam.d %{_docdir}/sendmail/contrib \
|
||||||
%{_sysconfdir}/NetworkManager/dispatcher.d
|
%{_sysconfdir}/NetworkManager/dispatcher.d
|
||||||
do
|
do
|
||||||
install -m 755 -d %{buildroot}$d
|
install -m 755 -d %{buildroot}$d
|
||||||
@ -367,21 +367,21 @@ done
|
|||||||
ln -sf ../sbin/sendmail.sendmail %{buildroot}/usr/lib/sendmail.sendmail
|
ln -sf ../sbin/sendmail.sendmail %{buildroot}/usr/lib/sendmail.sendmail
|
||||||
|
|
||||||
# install docs for sendmail
|
# install docs for sendmail
|
||||||
install -p -m 644 FAQ %{buildroot}%{_docdir}/sendmail-%{version}
|
install -p -m 644 FAQ %{buildroot}%{_docdir}/sendmail
|
||||||
install -p -m 644 KNOWNBUGS %{buildroot}%{_docdir}/sendmail-%{version}
|
install -p -m 644 KNOWNBUGS %{buildroot}%{_docdir}/sendmail
|
||||||
install -p -m 644 LICENSE %{buildroot}%{_docdir}/sendmail-%{version}
|
install -p -m 644 LICENSE %{buildroot}%{_docdir}/sendmail
|
||||||
install -p -m 644 README %{buildroot}%{_docdir}/sendmail-%{version}
|
install -p -m 644 README %{buildroot}%{_docdir}/sendmail
|
||||||
install -p -m 644 RELEASE_NOTES %{buildroot}%{_docdir}/sendmail-%{version}
|
install -p -m 644 RELEASE_NOTES %{buildroot}%{_docdir}/sendmail
|
||||||
gzip -9 %{buildroot}%{_docdir}/sendmail-%{version}/RELEASE_NOTES
|
gzip -9 %{buildroot}%{_docdir}/sendmail/RELEASE_NOTES
|
||||||
|
|
||||||
# install docs for sendmail-doc
|
# install docs for sendmail-doc
|
||||||
install -m 644 doc/op/op.pdf %{buildroot}%{_docdir}/sendmail-%{version}
|
install -m 644 doc/op/op.pdf %{buildroot}%{_docdir}/sendmail
|
||||||
install -p -m 644 sendmail/README %{buildroot}%{_docdir}/sendmail-%{version}/README.sendmail
|
install -p -m 644 sendmail/README %{buildroot}%{_docdir}/sendmail/README.sendmail
|
||||||
install -p -m 644 sendmail/SECURITY %{buildroot}%{_docdir}/sendmail-%{version}
|
install -p -m 644 sendmail/SECURITY %{buildroot}%{_docdir}/sendmail
|
||||||
install -p -m 644 smrsh/README %{buildroot}%{_docdir}/sendmail-%{version}/README.smrsh
|
install -p -m 644 smrsh/README %{buildroot}%{_docdir}/sendmail/README.smrsh
|
||||||
install -p -m 644 libmilter/README %{buildroot}%{_docdir}/sendmail-%{version}/README.libmilter
|
install -p -m 644 libmilter/README %{buildroot}%{_docdir}/sendmail/README.libmilter
|
||||||
install -p -m 644 cf/README %{buildroot}%{_docdir}/sendmail-%{version}/README.cf
|
install -p -m 644 cf/README %{buildroot}%{_docdir}/sendmail/README.cf
|
||||||
install -p -m 644 contrib/* %{buildroot}%{_docdir}/sendmail-%{version}/contrib
|
install -p -m 644 contrib/* %{buildroot}%{_docdir}/sendmail/contrib
|
||||||
|
|
||||||
# install the cf files for the sendmail-cf package.
|
# install the cf files for the sendmail-cf package.
|
||||||
cp -ar cf/* %{buildroot}%{sendmailcf}
|
cp -ar cf/* %{buildroot}%{sendmailcf}
|
||||||
@ -580,12 +580,12 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%dir %{_docdir}/sendmail-%{version}
|
%dir %{_docdir}/sendmail
|
||||||
%doc %{_docdir}/sendmail-%{version}/FAQ
|
%doc %{_docdir}/sendmail/FAQ
|
||||||
%doc %{_docdir}/sendmail-%{version}/KNOWNBUGS
|
%doc %{_docdir}/sendmail/KNOWNBUGS
|
||||||
%doc %{_docdir}/sendmail-%{version}/LICENSE
|
%doc %{_docdir}/sendmail/LICENSE
|
||||||
%doc %{_docdir}/sendmail-%{version}/README
|
%doc %{_docdir}/sendmail/README
|
||||||
%doc %{_docdir}/sendmail-%{version}/RELEASE_NOTES.gz
|
%doc %{_docdir}/sendmail/RELEASE_NOTES.gz
|
||||||
%{_bindir}/hoststat
|
%{_bindir}/hoststat
|
||||||
%{_bindir}/makemap
|
%{_bindir}/makemap
|
||||||
%{_bindir}/purgestat
|
%{_bindir}/purgestat
|
||||||
@ -687,25 +687,29 @@ fi
|
|||||||
%files milter
|
%files milter
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%doc %{_docdir}/sendmail-%{version}/README.libmilter
|
%doc %{_docdir}/sendmail/README.libmilter
|
||||||
%{_libdir}/libmilter.so.[0-9].[0-9]
|
%{_libdir}/libmilter.so.[0-9].[0-9]
|
||||||
%{_libdir}/libmilter.so.[0-9].[0-9].[0-9]
|
%{_libdir}/libmilter.so.[0-9].[0-9].[0-9]
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_docdir}/sendmail-%{version}/README.cf
|
%{_docdir}/sendmail/README.cf
|
||||||
%{_docdir}/sendmail-%{version}/README.sendmail
|
%{_docdir}/sendmail/README.sendmail
|
||||||
%{_docdir}/sendmail-%{version}/README.smrsh
|
%{_docdir}/sendmail/README.smrsh
|
||||||
%{_docdir}/sendmail-%{version}/SECURITY
|
%{_docdir}/sendmail/SECURITY
|
||||||
%{_docdir}/sendmail-%{version}/op.pdf
|
%{_docdir}/sendmail/op.pdf
|
||||||
%dir %{_docdir}/sendmail-%{version}/contrib
|
%dir %{_docdir}/sendmail/contrib
|
||||||
%attr(0644,root,root) %{_docdir}/sendmail-%{version}/contrib/*
|
%attr(0644,root,root) %{_docdir}/sendmail/contrib/*
|
||||||
|
|
||||||
%files sysvinit
|
%files sysvinit
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_initrddir}/sendmail
|
%{_initrddir}/sendmail
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 6 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 8.14.7-4
|
||||||
|
- Used unversioned doc directory
|
||||||
|
Resolves: rhbz#994090
|
||||||
|
|
||||||
* Fri Aug 2 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 8.14.7-3
|
* Fri Aug 2 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 8.14.7-3
|
||||||
- Rebuilt with -D_FILE_OFFSET_BITS=64
|
- Rebuilt with -D_FILE_OFFSET_BITS=64
|
||||||
Related: rhbz#912785
|
Related: rhbz#912785
|
||||||
|
Loading…
Reference in New Issue
Block a user