drop CC/CXX override completely
OBS-URL: https://build.opensuse.org/package/show/Archiving/plzip?expand=0&rev=30
This commit is contained in:
parent
d1b1bd4677
commit
67eeaa2798
12
plzip.spec
12
plzip.spec
@ -24,8 +24,8 @@ Summary: Parallel LZMA Data Compressor
|
|||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Archiving/Compression
|
Group: Productivity/Archiving/Compression
|
||||||
URL: https://www.nongnu.org/lzip/plzip.html
|
URL: https://www.nongnu.org/lzip/plzip.html
|
||||||
Source: https://download.savannah.gnu.org/releases/lzip/plzip/%{name}-%{version}.tar.gz
|
Source: https://download.savannah.gnu.org/releases/lzip/plzip/%name-%version.tar.gz
|
||||||
Source2: https://download.savannah.gnu.org/releases/lzip/plzip/%{name}-%{version}.tar.gz.sig
|
Source2: https://download.savannah.gnu.org/releases/lzip/plzip/%name-%version.tar.gz.sig
|
||||||
Source3: %name.keyring
|
Source3: %name.keyring
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
BuildRequires: lzlib-devel
|
BuildRequires: lzlib-devel
|
||||||
@ -54,7 +54,7 @@ pushd build/
|
|||||||
../configure --prefix="%_prefix" --bindir="%_bindir" --datadir="%_datadir" \
|
../configure --prefix="%_prefix" --bindir="%_bindir" --datadir="%_datadir" \
|
||||||
--includedir="%_includedir" --infodir="%_infodir" --libdir="%_libdir" \
|
--includedir="%_includedir" --infodir="%_infodir" --libdir="%_libdir" \
|
||||||
--mandir="%_mandir" --sysconfdir="%_sysconfdir" --enable-shared \
|
--mandir="%_mandir" --sysconfdir="%_sysconfdir" --enable-shared \
|
||||||
CC="gcc" CFLAGS="%optflags" CXX="g++" CXXFLAGS="%optflags"
|
CFLAGS="%optflags" CXXFLAGS="%optflags"
|
||||||
%make_build
|
%make_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ pushd build/
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%install_info --info-dir="%_infodir" "%_infodir/%{name}.info%ext_info"
|
%install_info --info-dir="%_infodir" "%_infodir/%name.info%ext_info"
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%install_info_delete --info-dir="%_infodir" "%_infodir/%name.info%ext_info"
|
%install_info_delete --info-dir="%_infodir" "%_infodir/%name.info%ext_info"
|
||||||
@ -78,7 +78,7 @@ popd
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS ChangeLog NEWS README
|
%doc AUTHORS ChangeLog NEWS README
|
||||||
%_bindir/plzip
|
%_bindir/plzip
|
||||||
%_infodir/plzip.info%{?ext_info}
|
%_infodir/plzip.info*
|
||||||
%_mandir/man1/plzip.1%{?ext_man}
|
%_mandir/man1/plzip.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user