[t-prot] Fix packaging issues (#1080246)
Emmanuel Seyman
eseyman at fedoraproject.org
Tue Mar 25 06:26:00 UTC 2014
commit 86bb9c38aeb6aa58896bc4abe8b597ce6793bade
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Tue Mar 25 07:25:59 2014 +0100
Fix packaging issues (#1080246)
t-prot.spec | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/t-prot.spec b/t-prot.spec
index a688449..2b1e984 100644
--- a/t-prot.spec
+++ b/t-prot.spec
@@ -1,6 +1,6 @@
Name: t-prot
Version: 3.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A filter which improves the readability of email messages and Usenet posts
License: BSD
@@ -17,23 +17,26 @@ sequences of blank lines, and repeated punctuation.
%prep
%setup -q
+# Empty build
%build
%install
install -d $RPM_BUILD_ROOT%{_bindir}
-install t-prot $RPM_BUILD_ROOT%{_bindir}
+install -p -m755 t-prot $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_mandir}/man1/
-install -m 644 t-prot.1 $RPM_BUILD_ROOT%{_mandir}/man1/
-gzip -f $RPM_BUILD_ROOT%{_mandir}/man1/t-prot.1
+install -p -m 644 t-prot.1 $RPM_BUILD_ROOT%{_mandir}/man1/
%files
%doc ChangeLog TODO README contrib
%{_bindir}/t-prot
-%{_mandir}/man1/t-prot.1.gz
+%{_mandir}/man1/t-prot.1*
%changelog
+* Tue Mar 25 2014 Emmanuel Seyman <emmanuel at seyman.fr> - 3.0-2
+- Fix packaging issues (#1080246)
+
* Tue Dec 31 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 3.0-1
- Update to 3.0
More information about the perl-devel
mailing list