diff --git a/tree.spec b/tree-pkg.spec similarity index 96% rename from tree.spec rename to tree-pkg.spec index 0e7863f..bf818ac 100644 --- a/tree.spec +++ b/tree-pkg.spec @@ -1,7 +1,7 @@ Summary: File system tree viewer -Name: tree +Name: tree-pkg Version: 1.8.0 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ URL: http://mama.indstate.edu/users/ice/tree/ 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 %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 tree-like format. Tree is basically a UNIX port of the DOS tree utility. %prep -%autosetup -p1 +%autosetup -p1 -n tree-%{version} # do not escape UTF-8 chars in file names by default in UTF-8 locale (#1480778) 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 -%files +%files -n tree %{_bindir}/tree %{_mandir}/man1/tree.1* %doc README LICENSE %changelog +* Fri Sep 03 2021 Kamil Dudka - 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 - 1.8.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild