Clean up pkgconfig dir when removing RPM & Mac pkg
This commit is contained in:
@@ -124,6 +124,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/libjpeg.so.@SO_MAJOR_VERSION@
|
||||
%{_libdir}/libjpeg.so
|
||||
%{_libdir}/libjpeg.a
|
||||
%{_libdir}/pkgconfig
|
||||
%{_libdir}/pkgconfig/libjpeg.pc
|
||||
%{_libdir}/libturbojpeg.so.0.1.0
|
||||
%{_libdir}/libturbojpeg.so.0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (C)2009-2011, 2013 D. R. Commander. All Rights Reserved.
|
||||
# Copyright (C)2009-2011, 2013, 2016 D. R. Commander. All Rights Reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
@@ -66,6 +66,9 @@ MANDIR=%{__mandir}
|
||||
if [ -d $BINDIR ]; then
|
||||
rmdir $BINDIR 2>&1 || EXITSTATUS=-1
|
||||
fi
|
||||
if [ -d $LIBDIR/pkgconfig ]; then
|
||||
rmdir $LIBDIR/pkgconfig 2>&1 || EXITSTATUS=-1
|
||||
fi
|
||||
if [ -d $LIBDIR ]; then
|
||||
rmdir $LIBDIR 2>&1 || EXITSTATUS=-1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user