Resolves: #1982198 - rename source package to tree-pkg
... to make it work with Pagure and Gitlab. The binary RPM package continues to use the original name, so this change is not observable by end users.
This commit is contained in:
parent
3dcdaacade
commit
5d9b165f99
@ -1,7 +1,7 @@
|
|||||||
Summary: File system tree viewer
|
Summary: File system tree viewer
|
||||||
Name: tree
|
Name: tree-pkg
|
||||||
Version: 1.8.0
|
Version: 1.8.0
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://mama.indstate.edu/users/ice/tree/
|
URL: http://mama.indstate.edu/users/ice/tree/
|
||||||
Source: ftp://mama.indstate.edu/linux/tree/tree-%{version}.tgz
|
Source: ftp://mama.indstate.edu/linux/tree/tree-%{version}.tgz
|
||||||
@ -26,12 +26,19 @@ Patch7: tree-size-field-len.patch
|
|||||||
Patch8: tree-static-analysis.patch
|
Patch8: tree-static-analysis.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
The source RPM package of tree, which has to be named differently due to
|
||||||
|
limitations of Pagure and Gitlab.
|
||||||
|
|
||||||
|
%package -n tree
|
||||||
|
Summary: File system tree viewer
|
||||||
|
|
||||||
|
%description -n tree
|
||||||
The tree utility recursively displays the contents of directories in a
|
The tree utility recursively displays the contents of directories in a
|
||||||
tree-like format. Tree is basically a UNIX port of the DOS tree
|
tree-like format. Tree is basically a UNIX port of the DOS tree
|
||||||
utility.
|
utility.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1 -n tree-%{version}
|
||||||
|
|
||||||
# do not escape UTF-8 chars in file names by default in UTF-8 locale (#1480778)
|
# do not escape UTF-8 chars in file names by default in UTF-8 locale (#1480778)
|
||||||
sed -e 's/LINUX/__linux__/' -i tree.c
|
sed -e 's/LINUX/__linux__/' -i tree.c
|
||||||
@ -48,12 +55,15 @@ mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|||||||
|
|
||||||
chmod -x $RPM_BUILD_ROOT%{_mandir}/man1/tree.1
|
chmod -x $RPM_BUILD_ROOT%{_mandir}/man1/tree.1
|
||||||
|
|
||||||
%files
|
%files -n tree
|
||||||
%{_bindir}/tree
|
%{_bindir}/tree
|
||||||
%{_mandir}/man1/tree.1*
|
%{_mandir}/man1/tree.1*
|
||||||
%doc README LICENSE
|
%doc README LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 03 2021 Kamil Dudka <kdudka@redhat.com> - 1.8.0-8
|
||||||
|
- source package renamed to tree-pkg to make it work with Pagure and Gitlab
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-7
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
Loading…
Reference in New Issue
Block a user