[rmol] [Dev] Removed the generation of the info files (as they have been deprecated for a while.
Denis Arnaud
denisarnaud at fedoraproject.org
Sun Oct 23 21:07:41 UTC 2011
commit 3f0c8ffc4e33bbe72eaa091e324c8dc076acc150
Author: Denis Arnaud <denis.arnaud_fedora at m4x.org>
Date: Sun Oct 23 23:07:27 2011 +0200
[Dev] Removed the generation of the info files (as they have been deprecated for a while.
rmol.spec | 19 +++++--------------
1 files changed, 5 insertions(+), 14 deletions(-)
---
diff --git a/rmol.spec b/rmol.spec
index 2ce53e2..ee06760 100644
--- a/rmol.spec
+++ b/rmol.spec
@@ -41,8 +41,6 @@ Summary: Header files, libraries and development helper tools for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
-Requires(post): info
-Requires(preun): info
%description devel
This package contains the header files, shared libraries and
@@ -68,7 +66,7 @@ online (http://%{name}.org).
%build
-%configure --disable-static
+%cmake .
make %{?_smp_mflags}
%install
@@ -77,11 +75,12 @@ make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
-# Remove unpackaged files from the buildroot
-rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-
mkdir -p %{mydocs}
mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs}
+rm -f %{mydocs}/html/installdox
+
+%check
+ctest
%clean
rm -rf $RPM_BUILD_ROOT
@@ -90,13 +89,6 @@ rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig
-%post devel
-/sbin/install-info %{_infodir}/%{name}-ref.info.* %{_infodir}/dir || :
-
-%preun devel
-if [ "$1" = 0 ]; then
- /sbin/install-info --delete %{_infodir}/%{name}-ref.info.* %{_infodir}/dir || :
-fi
%files -f %{name}.lang
%defattr(-,root,root,-)
@@ -112,7 +104,6 @@ fi
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%{_datadir}/aclocal/%{name}.m4
-%{_infodir}/%{name}-ref.info.*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/CMake
%{_mandir}/man1/%{name}-config.1.*
More information about the scm-commits
mailing list