projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
503a12f
)
Add SuSE docdir handling.
author
Scott Cantor
<cantor.2@osu.edu>
Thu, 6 Aug 2009 19:05:54 +0000
(19:05 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Thu, 6 Aug 2009 19:05:54 +0000
(19:05 +0000)
xmltooling.spec.in
patch
|
blob
|
history
diff --git
a/xmltooling.spec.in
b/xmltooling.spec.in
index
d174f95
..
11c6912
100644
(file)
--- a/
xmltooling.spec.in
+++ b/
xmltooling.spec.in
@@
-20,6
+20,12
@@
BuildRequires: gcc-c++, openssl-devel, curl-devel >= 7.10.6
%{?_with_log4cpp:BuildRequires: %{libpkgprefix}log4cpp-devel >= 1.0}
%{!?_with_log4cpp:BuildRequires: %{libpkgprefix}log4shib-devel}
%{?_with_log4cpp:BuildRequires: %{libpkgprefix}log4cpp-devel >= 1.0}
%{!?_with_log4cpp:BuildRequires: %{libpkgprefix}log4shib-devel}
+%if "%{_vendor}" == "suse"
+%define pkgdocdir %{_docdir}/%{name}
+%else
+%define pkgdocdir %{_docdir}/%{name}-%{version}
+%endif
+
%description
The XMLTooling library contains generic XML parsing and processing
classes based on the Xerces-C DOM. It adds more powerful facilities
%description
The XMLTooling library contains generic XML parsing and processing
classes based on the Xerces-C DOM. It adds more powerful facilities
@@
-84,7
+90,7
@@
This package includes files needed for development with xmltooling.
%{__make}
%install
%{__make}
%install
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
pkgdocdir=%{pkgdocdir}
# Don't package unit tester if present.
%{__rm} -f $RPM_BUILD_ROOT/%{_bindir}/xmltoolingtest
# Don't package unit tester if present.
%{__rm} -f $RPM_BUILD_ROOT/%{_bindir}/xmltoolingtest