Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
8f615e462d
commit
c7c469766d
15
parted.spec
15
parted.spec
@ -145,9 +145,6 @@ Buildrequires: python3
|
|||||||
BuildRequires: gperf
|
BuildRequires: gperf
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
|
||||||
Requires(post): /sbin/install-info
|
|
||||||
Requires(preun): /sbin/install-info
|
|
||||||
|
|
||||||
# bundled gnulib library exception, as per packaging guidelines
|
# bundled gnulib library exception, as per packaging guidelines
|
||||||
# https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
|
# https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
|
||||||
Provides: bundled(gnulib)
|
Provides: bundled(gnulib)
|
||||||
@ -213,18 +210,6 @@ V=1 %{__make} %{?_smp_mflags}
|
|||||||
export LD_LIBRARY_PATH=$(pwd)/libparted/.libs:$(pwd)/libparted/fs/.libs
|
export LD_LIBRARY_PATH=$(pwd)/libparted/.libs:$(pwd)/libparted/fs/.libs
|
||||||
make check
|
make check
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
if [ -f %{_infodir}/parted.info.gz ]; then
|
|
||||||
/sbin/install-info %{_infodir}/parted.info.gz %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%preun
|
|
||||||
if [ $1 = 0 ]; then
|
|
||||||
/sbin/install-info --delete %{_infodir}/parted.info.gz %{_infodir}/dir >/dev/null 2>&1 || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc AUTHORS NEWS README THANKS
|
%doc AUTHORS NEWS README THANKS
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
Loading…
Reference in New Issue
Block a user