install in %_bindir and remove /bin symlinks [release 5.1.0-3mamba;Tue Apr 27 2021]
This commit is contained in:
parent
a2611756ff
commit
feee7954a6
23
gawk.spec
23
gawk.spec
@ -1,6 +1,6 @@
|
||||
Name: gawk
|
||||
Version: 5.1.0
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: The GNU version of the awk text processing utility
|
||||
Group: Applications/Text
|
||||
Vendor: openmamba
|
||||
@ -22,7 +22,8 @@ BuildRequires: glibc-devel
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: bison
|
||||
Requires(post):%{__install_info}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Provides: /bin/awk
|
||||
Provides: /bin/gawk
|
||||
|
||||
%description
|
||||
The gawk packages contains the GNU version of awk, a text processing utility.
|
||||
@ -47,7 +48,8 @@ This package contains libraries and header files for developing applications tha
|
||||
#%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure --bindir=/bin --libexecdir=%{_libexecdir}/awk \
|
||||
%configure \
|
||||
--libexecdir=%{_libexecdir}/awk \
|
||||
LDFLAGS="-lncurses"
|
||||
|
||||
%make
|
||||
@ -56,12 +58,7 @@ This package contains libraries and header files for developing applications tha
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%makeinstall
|
||||
|
||||
rm -f %{buildroot}/bin/{gawk,pgawk}-%{version}
|
||||
|
||||
install -d %{buildroot}%{_bindir}
|
||||
( cd %{buildroot}%{_bindir}
|
||||
ln -sf /bin/gawk awk
|
||||
ln -sf /bin/gawk gawk )
|
||||
rm -f %{buildroot}%{_bindir}/gawk-%{version}
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
@ -84,9 +81,6 @@ install -d %{buildroot}%{_bindir}
|
||||
%defattr(-,root,root)
|
||||
%{_sysconfdir}/profile.d/gawk.csh
|
||||
%{_sysconfdir}/profile.d/gawk.sh
|
||||
/bin/awk
|
||||
/bin/gawk
|
||||
#/bin/igawk
|
||||
%{_bindir}/awk
|
||||
%{_bindir}/gawk
|
||||
%dir %{_libdir}/gawk
|
||||
@ -119,6 +113,9 @@ install -d %{buildroot}%{_bindir}
|
||||
%doc ChangeLog NEWS POSIX.STD README
|
||||
|
||||
%changelog
|
||||
* Tue Apr 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.0-3mamba
|
||||
- install in %_bindir and remove /bin symlinks
|
||||
|
||||
* Sun Dec 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.0-2mamba
|
||||
- rebuilt with debug packge
|
||||
|
||||
@ -194,7 +191,7 @@ install -d %{buildroot}%{_bindir}
|
||||
* Thu Jul 03 2003 Silvan Calarco <silvan.calarco@qinet.it> 3.1.1-1qilnx
|
||||
- going back to version 3.1.1 because 3.1.2 doesn't work with /proc files
|
||||
|
||||
* Mon Apr 16 2003 Silvan Calarco <silvan.calarco@qinet.it> 3.1.2-3qilnx
|
||||
* Wed Apr 16 2003 Silvan Calarco <silvan.calarco@qinet.it> 3.1.2-3qilnx
|
||||
- removed /usr/share/info/dir
|
||||
- removed Prefix declaration
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user