diff --git a/cmake.changes b/cmake.changes index f7392d1..39e90c8 100644 --- a/cmake.changes +++ b/cmake.changes @@ -1,14 +1,3 @@ -------------------------------------------------------------------- -Thu Jun 10 16:24:47 UTC 2010 - dimstar@opensuse.org - -- Fix build on Fedora, by not using defaultdocdir. It does not - match the forced installation path on configure. - -------------------------------------------------------------------- -Thu Jun 3 16:03:36 UTC 2010 - dimstar@opensuse.org - -- No fdupes on non-suse platforms and SLE10. - ------------------------------------------------------------------- Tue May 18 12:17:02 UTC 2010 - puzel@novell.com diff --git a/cmake.spec b/cmake.spec index 76a64f3..53eecd7 100644 --- a/cmake.spec +++ b/cmake.spec @@ -29,9 +29,7 @@ Patch4: cmake-disable-builtin-chrpath.diff Patch5: fortify-buffer-overflows.diff Summary: Cross-platform, open-source make system BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} > 1110 BuildRequires: fdupes -%endif BuildRequires: curl-devel BuildRequires: gcc-c++ BuildRequires: libexpat-devel @@ -69,10 +67,8 @@ make VERBOSE=1 %{?jobs:-j %jobs} make DESTDIR=%{buildroot} install mkdir -p %{buildroot}%{_libdir}/cmake find %{buildroot}/usr/share/cmake -type f -print0 | xargs -0 chmod 644 -cp ChangeLog.manual %{buildroot}/usr/share/doc/packages/%{name}/Changelog -%if 0%{?suse_version} > 1110 +cp ChangeLog.manual %{buildroot}/usr/share/doc/packages/%{name}/Changelog %fdupes %buildroot/usr/share/cmake -%endif %clean rm -rf %{buildroot} @@ -84,8 +80,8 @@ rm -rf %{buildroot} %{_bindir}/ctest %{_bindir}/ccmake %{_datadir}/cmake -%{_libdir}/cmake -%doc %{_datadir}/doc/packages/%{name} +%_libdir/cmake +%doc %{_defaultdocdir}/%{name} %doc %{_mandir}/man1/cmakepolicies.1.* %doc %{_mandir}/man1/cmake.1.* %doc %{_mandir}/man1/ctest.1.*