Cleanup minicom.spec
I hope this cleanup changes can make spec file more simple and accurate with Fedora packaging guidelines.
This commit is contained in:
parent
5de2d39e12
commit
297e2641d3
16
minicom.spec
16
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 <vascom2@gmail.com> - 2.7.1-5
|
||||
- Cleanup spec
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user