[libticonv] Some additional fixes to specfile.
Ben Rosser
tc01 at fedoraproject.org
Wed Mar 4 18:59:12 UTC 2015
commit b262ccc6f73ed800a0352d83c371a037f436e375
Author: Ben Rosser <rosser.bjr at gmail.com>
Date: Wed Mar 4 13:59:07 2015 -0500
Some additional fixes to specfile.
libticonv.spec | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/libticonv.spec b/libticonv.spec
index 70dc1ac..492d899 100644
--- a/libticonv.spec
+++ b/libticonv.spec
@@ -1,8 +1,8 @@
-%define tilp_version 1.17
+%global tilp_version 1.17
Name: libticonv
Version: 1.1.4
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Texas Instruments calculators charsets library
Group: Development/Libraries
@@ -49,6 +49,9 @@ sed -i 's/\r$//' docs/html/style.css
%configure --disable-static
make %{?_smp_mflags}
+%check
+make check
+
%install
make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_libdir}/libticonv.la
@@ -60,6 +63,7 @@ rm %{buildroot}/%{_pkgdocdir}/COPYING
%files
%{_libdir}/libticonv.so.*
+%dir %{_pkgdocdir}
%doc %{_pkgdocdir}/README
%doc %{_pkgdocdir}/AUTHORS
%doc %{_pkgdocdir}/ChangeLog
@@ -75,6 +79,11 @@ rm %{buildroot}/%{_pkgdocdir}/COPYING
%{_includedir}/tilp2/
%changelog
+* Wed Mar 4 2015 'Ben Rosser' <rosser.bjr at gmail.com> 1.1.4-5
+- Switched to using global instead of define for macros.
+- Package now owns its documentation directory.
+- Tests are now ran in the check section of the specfile.
+
* Fri Feb 27 2015 'Ben Rosser' <rosser.bjr at gmail.com> 1.1.4-4
- Fixed doc subpackage to be noarch and not contain duplicate files.
More information about the scm-commits
mailing list