[cswrap] update to latest upstream (1.0.3)
Kamil Dudka
kdudka at fedoraproject.org
Thu Mar 27 15:18:56 UTC 2014
commit 3885798ca5f7d3807b32c913fe9432b039f54abb
Author: Kamil Dudka <kdudka at redhat.com>
Date: Thu Mar 27 16:18:08 2014 +0100
update to latest upstream (1.0.3)
.gitignore | 2 +-
cswrap.spec | 22 +++++++++++++++-------
sources | 2 +-
3 files changed, 17 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 945fa65..68521f4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/cswrap-1.0.2.tar.xz
+/cswrap-*.tar.xz
diff --git a/cswrap.spec b/cswrap.spec
index c6390aa..07dba3f 100644
--- a/cswrap.spec
+++ b/cswrap.spec
@@ -1,12 +1,14 @@
Name: cswrap
-Version: 1.0.2
-Release: 2%{?dist}
+Version: 1.0.3
+Release: 1%{?dist}
Summary: Generic compiler wrapper
Group: Development/Tools
License: GPLv3+
-URL: https://git.fedorahosted.org/cgit/cswrap.git
-Source0: https://git.fedorahosted.org/cgit/cswrap.git/snapshot/cswrap-1.0.2.tar.xz
+URL: http://git.fedorahosted.org/cgit/%{name}.git
+Source0: http://git.fedorahosted.org/cgit/%{name}.git/snapshot/%{name}-%{version}.tar.xz
+
+BuildRequires: asciidoc
# csmock copies the resulting cswrap binary into mock chroot, which may contain
# an older (e.g. RHEL-5) version of glibc, and it would not dynamically link
@@ -28,7 +30,7 @@ make %{?_smp_mflags} \
LDFLAGS="$RPM_OPT_FLAGS -static -pthread"
%check
-PATH=$RPM_BUILD_ROOT%{_libdir}/cswrap:$PATH
+PATH="$RPM_BUILD_ROOT%{_libdir}/cswrap:$PATH"
export PATH
make clean
make %{?_smp_mflags} CFLAGS="-ansi -pedantic" 2>&1 | grep "$PWD" > /dev/null
@@ -37,9 +39,11 @@ make %{?_smp_mflags} CFLAGS="-ansi -pedantic" 2>&1 | grep "$PWD" > /dev/null
install -m0755 -d \
"$RPM_BUILD_ROOT%{_bindir}" \
"$RPM_BUILD_ROOT%{_libdir}" \
- "$RPM_BUILD_ROOT%{_libdir}/cswrap"
+ "$RPM_BUILD_ROOT%{_libdir}/cswrap" \
+ "$RPM_BUILD_ROOT%{_mandir}/man1"
-install -m0755 %{name} "$RPM_BUILD_ROOT%{_bindir}"
+install -p -m0755 %{name} "$RPM_BUILD_ROOT%{_bindir}"
+install -p -m0644 %{name}.1 "$RPM_BUILD_ROOT%{_mandir}/man1"
for i in c++ cc g++ gcc clang clang++ cppcheck \
%{_arch}-redhat-linux-c++ \
@@ -52,9 +56,13 @@ done
%files
%{_bindir}/cswrap
%{_libdir}/cswrap
+%{_mandir}/man1/%{name}.1*
%doc COPYING README
%changelog
+* Thu Mar 27 2014 Kamil Dudka <kdudka at redhat.com> 1.0.3-1
+- update to latest upstream
+
* Mon Mar 10 2014 Kamil Dudka <kdudka at redhat.com> 1.0.2-2
- abandon RHEL-5 compatibility (#1066028)
diff --git a/sources b/sources
index 3689c5b..e443901 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a571220d4fb397b66bfb8ac374b1516c cswrap-1.0.2.tar.xz
+e64c1092b22053c366aa6178ff08b43f cswrap-1.0.3.tar.xz
More information about the scm-commits
mailing list