summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2009-12-30 23:21:14 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2009-12-30 23:21:14 +0100
commit453c13d93e6d72f6158813088aea121f8477004f (patch)
treef7c6576ab0ffba977ce41a323890d7ce3643c77e
parent6ab34fc9a4de58021048b2ca2401db6f9fb4872d (diff)
downloadsimulavr-package-453c13d93e6d72f6158813088aea121f8477004f.tar.gz
simulavr-package-453c13d93e6d72f6158813088aea121f8477004f.tar.xz
simulavr-package-453c13d93e6d72f6158813088aea121f8477004f.zip
* Wed Dec 30 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.1.2.6-4simulavr-0.1.2.6-4.fc11
- Capitalize -doc subpackage summary - Use generic download URL instead of specific mirror - Use mktemp based BuildRoot - Spec file comment cleanup
-rw-r--r--simulavr.spec18
1 files changed, 13 insertions, 5 deletions
diff --git a/simulavr.spec b/simulavr.spec
index 5df32fe..103fb38 100644
--- a/simulavr.spec
+++ b/simulavr.spec
@@ -8,16 +8,16 @@
Name: simulavr
Version: 0.1.2.6
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: An AVR Simulator
Group: Development/Tools
License: GPLv2+
URL: http://savannah.nongnu.org/projects/simulavr/
-Source0: http://mirrors.zerg.biz/nongnu/simulavr/%{name}-%{version}.tar.gz
+Source0: http://download.savannah.nongnu.org/releases/simulavr/%{name}-%{version}.tar.gz
# Allow overriding ENABLE_WARNINGS definition
Patch100: 0001-Allow-overriding-ENABLE_WARNINGS.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: avr-binutils
BuildRequires: avr-gcc
@@ -38,7 +38,7 @@ A simulator for chips from Atmel's AVR series of microcontrollers.
%package doc
Group: Development/Tools
-Summary: simulavr documentation (HTML and PDF)
+Summary: Documentation for simulavr (HTML and PDF)
%{noarch_subpackage}
@@ -55,7 +55,8 @@ This subpackage contains the documentation in HTML and PDF format.
%build
%configure --enable-pdf
-# FIXME: Skip -Werror for now, as flex output code ignores fwrite() return value
+# FIXME: Skip -Werror for now, as flex generated code ignores
+# fwrite(3) return value which generates a warning.
make %{?_smp_mflags} ENABLE_WARNINGS="-Wall -Winline"
@@ -63,6 +64,7 @@ make %{?_smp_mflags} ENABLE_WARNINGS="-Wall -Winline"
rm -rf "%{buildroot}"
make install DESTDIR="%{buildroot}"
rm -f "%{buildroot}%{_infodir}/dir"
+# Caution: We will not notice when anything new appears in docdir.
mv "%{buildroot}%{_docdir}/%{name}-%{version}" docdir
@@ -106,6 +108,12 @@ fi
%changelog
+* Wed Dec 30 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.1.2.6-4
+- Capitalize -doc subpackage summary
+- Use generic download URL instead of specific mirror
+- Use mktemp based BuildRoot
+- Spec file comment cleanup
+
* Wed Dec 30 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.1.2.6-3
- Add the final BuildRequires (texinfo-tex, texi2html)