[palp] Make palp more friendly to sagemath (#837837)

pcpa pcpa at fedoraproject.org
Fri Jul 6 17:47:53 UTC 2012


commit 97790c6e3fea801fd681c5a06ca2e97ed71e366c
Author: pcpa <paulo.cesar.pereira.de.andrade at gmail.com>
Date:   Fri Jul 6 14:47:49 2012 -0400

    Make palp more friendly to sagemath (#837837)

 .gitignore |    1 +
 palp.spec  |   20 ++++++++++----------
 sources    |    1 +
 3 files changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bae2ce2..274baf6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 palp-1.1.tar.gz
+/0204356v1.pdf
diff --git a/palp.spec b/palp.spec
index 5c2a5f3..67d0c67 100644
--- a/palp.spec
+++ b/palp.spec
@@ -1,12 +1,12 @@
 Name:           palp
 Version:        1.1
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        A Package for Analyzing Lattice Polytopes
 Group:          Applications/Engineering
 License:        GPLv3+
 URL:            http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html
 Source0:        http://hep.itp.tuwien.ac.at/~kreuzer/CY/palp/palp-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source1:	http://arxiv.org/pdf/math/0204356v1.pdf
 
 
 %description
@@ -24,28 +24,28 @@ toric Calabi-Yau varieties.
 
 
 %build
+cp -a %{SOURCE1} .
 make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{_bindir}
 for exe in *.x; do
-  install -m 755 $exe $RPM_BUILD_ROOT%{_bindir}/%{name}-$exe
+  install -m 755 $exe $RPM_BUILD_ROOT%{_bindir}/$exe
 done
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc COPYING
-%{_bindir}/%{name}-*
+%doc 0204356v1.pdf
+%{_bindir}/*
 
 
 %changelog
+* Fri Jul 6 2012 pcpa <paulo.cesar.pereira.de.andrade at gmail.com> - 1.1-7
+- Add arxiv.org palp documentation as %%doc.
+- Do not preventive rename files for unlikely name conflicts (#837837).
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 3a099a2..b218650 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 6133f32e22a594f15d0c883b2b3eb26c  palp-1.1.tar.gz
+9ac0370c27bf4a14eef8ce69c2ff6037  0204356v1.pdf


More information about the scm-commits mailing list