[dt] - fix .spec file to not use version suffixes in doc install dirs
okozina
okozina at fedoraproject.org
Mon Aug 5 07:35:20 UTC 2013
commit 32ac489182e1b28fb7c7e2cf0173c1c6f04b906d
Author: Ondrej Kozina <okozina at redhat.com>
Date: Mon Aug 5 09:33:59 2013 +0200
- fix .spec file to not use version suffixes in doc install dirs
dt.spec | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/dt.spec b/dt.spec
index c925585..c3379bb 100644
--- a/dt.spec
+++ b/dt.spec
@@ -1,6 +1,6 @@
Name: dt
Version: 17.66
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Generic data test program
Group: Applications/System
@@ -29,7 +29,7 @@ that allows the standard open, read, write, and close system calls. Special
support is necessary for some devices, such as serial lines, for setting up the
speed, parity, data bits, etc.
-Available documentation is located in %{_defaultdocdir}/%{name}-%{version}. Sample
+Available documentation is located in %{_defaultdocdir}/%{name}. Sample
scripts and config data are installed in %{_datadir}/%{name}.
%prep
@@ -43,12 +43,12 @@ make %{?_smp_mflags} CFLAGS="%{optflags} -DAIO -DFIFO -DMMAP -D__linux__ -D_GNU_
install -d -m755 $RPM_BUILD_ROOT%{_sbindir}
install -d -m755 $RPM_BUILD_ROOT%{_mandir}/man8
install -d -m755 $RPM_BUILD_ROOT%{_datadir}/%{name}
-install -d -m755 $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}/html
+install -d -m755 $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/html
install -m755 dt $RPM_BUILD_ROOT%{_sbindir}
install -m644 Documentation/dt.man $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8
install -m755 Scripts/dt? $RPM_BUILD_ROOT%{_datadir}/%{name}
install -m644 data/pattern_* $RPM_BUILD_ROOT%{_datadir}/%{name}
-install -m644 html/* $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}/html
+install -m644 html/* $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/html
%files
%doc Documentation/*.pdf Documentation/dt-UsersGuide.txt Documentation/LINUX-Notes Documentation/IOT-Example README.1st LICENSE WhatsNewFiles/*
@@ -57,6 +57,9 @@ install -m644 html/* $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}/html
%{_mandir}/man8/%{name}.*.gz
%changelog
+* Mon Aug 05 2013 Ondrej Kozina <okozina at redhat.com> - 17.66-4
+- remove version suffix from all install directives related to documentation (reflects recent change in %doc macro)
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 17.66-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list