pcpa pushed to libircclient (el6). "Do not use the license macro on non fedora"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Apr 13 20:40:55 UTC 2015
>From c15e5e101fd8e88cb2e6db8e6e7bfb1a4ee46e54 Mon Sep 17 00:00:00 2001
From: pcpa <paulo.cesar.pereira.de.andrade at gmail.com>
Date: Mon, 13 Apr 2015 17:39:58 -0300
Subject: Do not use the license macro on non fedora
diff --git a/libircclient.spec b/libircclient.spec
index 33f9695..127cb07 100644
--- a/libircclient.spec
+++ b/libircclient.spec
@@ -8,12 +8,14 @@
Name: libircclient
Summary: C library to create IRC clients
Version: 1.8
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPLv3+
Group: Development/Libraries
URL: http://www.ulduzsoft.com/libircclient/
Source0: http://downloads.sourceforge.net/libircclient/%{name}-%{version}.tar.gz
+%if %{with_docs}
BuildRequires: doxygen
+%endif
BuildRequires: openssl-devel
%if %{with_docs}
BuildRequires: python-sphinx
@@ -60,7 +62,11 @@ cp -p man/%{name}.1 %{buildroot}%{_mandir}/man1
%files
%defattr(-,root,root,-)
+%if 0%{?fedora}
%license LICENSE
+%else
+%doc LICENSE
+%endif
%doc Changelog
%doc THANKS
%{_libdir}/*.so.%{major}
@@ -75,6 +81,10 @@ cp -p man/%{name}.1 %{buildroot}%{_mandir}/man1
%{_mandir}/man1/%{name}.1*
%changelog
+* Mon Apr 13 2015 pcpa <paulo.cesar.pereira.de.andrade at gmail.com> - 1.8-3
+- Do not build requires doxygen if not building docs
+- Do not use the license macro on non fedora
+
* Mon Apr 13 2015 pcpa <paulo.cesar.pereira.de.andrade at gmail.com> - 1.8-2
- Do not regenerate documentation on epel
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/libircclient.git/commit/?h=el6&id=c15e5e101fd8e88cb2e6db8e6e7bfb1a4ee46e54
More information about the scm-commits
mailing list