From 297e2641d3e76139bd3de6705bdfdaaea6b67bd7 Mon Sep 17 00:00:00 2001 From: vascom Date: Sun, 10 Sep 2017 16:13:15 +0000 Subject: [PATCH] Cleanup minicom.spec I hope this cleanup changes can make spec file more simple and accurate with Fedora packaging guidelines. --- minicom.spec | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/minicom.spec b/minicom.spec index f4a583f..3350082 100644 --- a/minicom.spec +++ b/minicom.spec @@ -1,14 +1,12 @@ - Summary: A text-based modem control and terminal emulation program Name: minicom Version: 2.7.1 -Release: 4%{?dist} +Release: 5%{?dist} URL: http://alioth.debian.org/projects/minicom/ License: GPL+ and GPLv2+ and GPLv2 and LGPLv2+ Public Domain and Copyright only -Group: Applications/Communications #ExcludeArch: s390 s390x -Source0: https://alioth.debian.org/frs/download.php/file/4215/minicom-2.7.1.tar.gz +Source0: https://alioth.debian.org/frs/download.php/file/4215/%{name}-%{version}.tar.gz BuildRequires: lockdev-devel ncurses-devel autoconf automake gettext-devel Requires: lockdev lrzsz @@ -22,7 +20,7 @@ language, and other features. %prep -%setup -q +%autosetup cp -pr doc doc_ rm -f doc_/Makefile* @@ -32,11 +30,11 @@ rm -f doc_/Makefile* #./autogen.sh autoreconf --verbose --force --install %configure -make %{?_smp_mflags} +%make_build %install -make DESTDIR=%{buildroot} install +%make_install mkdir -p %{buildroot}%{_sysconfdir} %find_lang %{name} @@ -44,6 +42,7 @@ mkdir -p %{buildroot}%{_sysconfdir} %files -f %{name}.lang %doc ChangeLog AUTHORS NEWS TODO doc_/* +%license COPYING # DO NOT MAKE minicom SUID/SGID anything. %{_bindir}/minicom %{_bindir}/runscript @@ -53,6 +52,9 @@ mkdir -p %{buildroot}%{_sysconfdir} %changelog +* Tue Feb 13 2018 Vasiliy N. Glazov - 2.7.1-5 +- Cleanup spec + * Thu Feb 08 2018 Fedora Release Engineering - 2.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild