From a41a05eee71cf223750000b5c48bcf0b1ea95c31 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Tue, 19 Jan 2016 22:38:40 -0500 Subject: [PATCH] spec cleanups --- aalib.spec | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/aalib.spec b/aalib.spec index 11ebd9b..dfaebc4 100644 --- a/aalib.spec +++ b/aalib.spec @@ -1,9 +1,9 @@ -%define rc_subver rc5 +%global rc_subver rc5 Summary: ASCII art library Name: aalib Version: 1.4.0 -Release: 0.27.%{rc_subver}%{?dist} +Release: 0.28.%{rc_subver}%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://aa-project.sourceforge.net/aalib/ @@ -14,7 +14,6 @@ Patch2: aalib-1.4rc5-bug149361.patch Patch3: aalib-1.4rc5-rpath.patch Patch4: aalib-1.4rc5-x_libs.patch Patch5: aalib-1.4rc5-libflag.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: slang-devel libXt-devel gpm-devel ncurses-devel BuildRequires: autoconf libtool @@ -61,19 +60,12 @@ make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" rm -f $RPM_BUILD_ROOT{%{_libdir}/libaa.la,%{_infodir}/dir} # clean up multilib conflicts touch -r NEWS $RPM_BUILD_ROOT%{_bindir}/aalib-config $RPM_BUILD_ROOT%{_datadir}/aclocal/aalib.m4 - - -%clean -rm -rf $RPM_BUILD_ROOT - - %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig @@ -88,7 +80,6 @@ fi %files -%defattr(-,root,root,-) %{_bindir}/aafire %{_bindir}/aainfo %{_bindir}/aasavefont @@ -96,12 +87,11 @@ fi %{_mandir}/man1/aafire.1* %files libs -%defattr(-,root,root,-) -%doc README COPYING ChangeLog NEWS +%doc README ChangeLog NEWS +%license COPYING %{_libdir}/libaa.so.* %files devel -%defattr(-,root,root,-) %{_bindir}/aalib-config %{_mandir}/man3/* %{_libdir}/libaa.so @@ -110,6 +100,9 @@ fi %{_datadir}/aclocal/aalib.m4 %changelog +* Tue Jan 19 2016 Tom Callaway - 1.4.0-0.28.rc5 +- spec cleanups + * Tue Jun 16 2015 Fedora Release Engineering - 1.4.0-0.27.rc5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild