[packages/polylib] noarch apidocs
glen
glen at pld-linux.org
Thu Apr 3 22:45:59 CEST 2014
commit dd3ba2e8a9930386e8483d9b88b6f744d900f7ee
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Apr 3 23:45:58 2014 +0300
noarch apidocs
polylib.spec | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/polylib.spec b/polylib.spec
index f6bc465..3cb5ee5 100644
--- a/polylib.spec
+++ b/polylib.spec
@@ -1,12 +1,12 @@
#
# Conditional build:
%bcond_without apidocs # do not build and package API docs
-#
+
Summary: Polyhedral Library
Summary(pl.UTF-8): Biblioteka operacji na wielościanach
Name: polylib
Version: 5.22.5
-Release: 1
+Release: 2
License: GPL v3+
Group: Libraries
Source0: http://icps.u-strasbg.fr/PolyLib/polylib_src/%{name}-%{version}.tar.gz
@@ -57,6 +57,9 @@ Statyczna biblioteka PolyLib.
Summary: PolyLib API documentation
Summary(pl.UTF-8): Dokumentacja API biblioteki PolyLib
Group: Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description apidocs
API and internal documentation for PolyLib library.
@@ -76,7 +79,6 @@ Dokumentacja API biblioteki PolyLib.
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
@@ -88,7 +90,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc doc/Changes
+%doc doc/Changes
%attr(755,root,root) %{_bindir}/c2p
%attr(755,root,root) %{_bindir}/disjoint_union_adj
%attr(755,root,root) %{_bindir}/disjoint_union_sep
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/polylib.git/commitdiff/dd3ba2e8a9930386e8483d9b88b6f744d900f7ee
More information about the pld-cvs-commit
mailing list