[log4c] Simplify install of docs.
Ville Skyttä
scop at fedoraproject.org
Sun Jul 28 19:28:11 UTC 2013
commit 80746229a9b72d0a053709e6fe9b9a78b9db415b
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sun Jul 28 22:27:51 2013 +0300
Simplify install of docs.
log4c.spec | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/log4c.spec b/log4c.spec
index e265edd..5c8c74e 100644
--- a/log4c.spec
+++ b/log4c.spec
@@ -1,6 +1,6 @@
Name: log4c
Version: 1.2.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Library for logging application messages
License: LGPLv2+
@@ -37,8 +37,7 @@ make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
# example config file below shouldn't live in /etc/
-mkdir -p %{buildroot}/usr/share/doc/%{name}-%{version}
-mv %{buildroot}/etc/log4crc.sample %{buildroot}/usr/share/doc/%{name}-%{version}/
+rm %{buildroot}/etc/log4crc.sample
rm %{buildroot}%{_libdir}/*.la
# munge log4c-config to prevent file conflicts on multilib systems,
# the default paths are not needed in the build flags anyway
@@ -69,6 +68,9 @@ sed -r -i \
%changelog
+* Sun Jul 28 2013 Ville Skyttä <ville.skytta at iki.fi> - 1.2.3-2
+- Simplify install of docs.
+
* Sat Apr 06 2013 František Dvořák <valtri at civ.zcu.cz> - 1.2.3-1
- Release log4c 1.2.3
- Added pkgconfig file and the manpage for log4c-config
More information about the scm-commits
mailing list