[gecode] Update to 4.2.1. Switch to 7z sources to reduce srpm size. Fix doc packaging problems.
Julian C. Dunn
jdunn at fedoraproject.org
Sun Nov 17 04:46:46 UTC 2013
commit 1f2c2321be84b3a8b5e40f1b40e525379437cdfb
Author: Julian C. Dunn <jdunn at aquezada.com>
Date: Sat Nov 16 23:46:46 2013 -0500
Update to 4.2.1. Switch to 7z sources to reduce srpm size. Fix doc packaging problems.
gecode-4.2.1.7z | Bin 0 -> 1291175 bytes
gecode.spec | 11 +++++++++--
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/gecode-4.2.1.7z b/gecode-4.2.1.7z
new file mode 100644
index 0000000..197c11f
Binary files /dev/null and b/gecode-4.2.1.7z differ
diff --git a/gecode.spec b/gecode.spec
index 7af8962..e01f2ef 100644
--- a/gecode.spec
+++ b/gecode.spec
@@ -1,12 +1,12 @@
Name: gecode
-Version: 4.2.0
+Version: 4.2.1
Release: 1%{?dist}
Summary: Generic constraint development environment
Group: System Environment/Libraries
License: MIT
URL: http://www.gecode.org/
-Source0: http://www.gecode.org/download/%{name}-%{version}.tar.gz
+Source0: http://www.gecode.org/download/%{name}-%{version}.7z
Patch0: gecode-4.0.0-no_examples.patch
BuildRequires: automake
@@ -15,6 +15,7 @@ BuildRequires: boost-devel
BuildRequires: flex >= 2.5.33
BuildRequires: graphviz
BuildRequires: qt4-devel
+BuildRequires: p7zip
# Fedora < 20 doesn't have this macro
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
@@ -120,6 +121,7 @@ mv doc/html ${RPM_BUILD_ROOT}%{_pkgdocdir}
%files
%doc ChangeLog LICENSE
%{_libdir}/*.so.*
+%exclude %{_pkgdocdir}/html
%files devel
%{_bindir}/fzn-gecode
@@ -130,11 +132,16 @@ mv doc/html ${RPM_BUILD_ROOT}%{_pkgdocdir}
%files doc
%{_pkgdocdir}
+%exclude %{_pkgdocdir}/ChangeLog
+%exclude %{_pkgdocdir}/LICENSE
%files examples
%doc examples/*
%changelog
+* Sat Nov 16 2013 Julian C. Dunn <jdunn at aquezada.com> 4.2.1-1
+- Update to 4.2.1
+
* Fri Aug 23 2013 Julian C. Dunn <jdunn at aquezada.com> 4.2.0-1
- Update to 4.2.0
- Switch to unversioned docdir for >= F20 (bz#993768)
More information about the scm-commits
mailing list