Bug 1276960

Summary: Review Request: gimp-bimp-plugin - Batch Image Manipulation Plugin
Product: [Fedora] Fedora Reporter: Maxim Orlov <murmansksity>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: luya, opensource, package-review, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-10 00:54:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 177841, 201449, 1000885    

Description Maxim Orlov 2015-11-01 19:04:02 UTC
Spec URL: <https://raw.githubusercontent.com/RussianFedora/gimp-bimp-plugin/master/gimp-bimp-plugin.spec>
SRPM URL: <http://koji.russianfedora.pro/kojifiles/packages/gimp-bimp-plugin/1.16/1.fc24.R/src/gimp-bimp-plugin-1.16-1.fc24.R.src.rpm>
Description: <Use BIMP to apply a set of GIMP manipulations to groups of images.>
Fedora Account System Username: region51

This is one of my rpm packages and I need a sponsor for it.

Comment 1 Zbigniew Jędrzejewski-Szmek 2016-01-10 21:01:52 UTC
Why do you create an empty configure script and then call it?

find %{buildroot}%{_datadir}/locale/ -name "*.po" -exec rm -rf {} \;
→
find %{buildroot}%{_datadir}/locale/ -name "*.po" -delete

Comment 2 Maxim Orlov 2016-01-11 12:31:05 UTC
>Why do you create an empty configure script and then call it?

for Use configure:
%prep
...
echo '#!/bin/bash' > configure
chmod +x configure

%build
%configure
...

[maxim@localhost ~]$ rpm --eval %configure

  CFLAGS="${CFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic}" ; export CFLAGS ; 
  CXXFLAGS="${CXXFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic}" ; export CXXFLAGS ; 
  FFLAGS="${FFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules}" ; export FFLAGS ; 
  FCFLAGS="${FCFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules}" ; export FCFLAGS ; 
  LDFLAGS="${LDFLAGS:--Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld}"; export LDFLAGS; 
  [ "1" = 1 ] && for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ; do 
      [ -f /usr/lib/rpm/redhat/$(basename $i) ] && /usr/bin/rm -f $i && /usr/bin/cp -fv /usr/lib/rpm/redhat/$(basename $i) $i ; 
  done ; 
  [ "1" = 1 ] && [ x != "x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld" ] && 
      for i in $(find . -name ltmain.sh) ; do 
        /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' $i 
      done ; 
  ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu \
	--program-prefix= \
	--disable-dependency-tracking \
	--prefix=/usr \
	--exec-prefix=/usr \
	--bindir=/usr/bin \
	--sbindir=/usr/sbin \
	--sysconfdir=/etc \
	--datadir=/usr/share \
	--includedir=/usr/include \
	--libdir=/usr/lib64 \
	--libexecdir=/usr/libexec \
	--localstatedir=/var \
	--sharedstatedir=/var/lib \
	--mandir=/usr/share/man \
	--infodir=/usr/share/info

Comment 3 Maxim Orlov 2016-01-11 12:45:58 UTC
>find %{buildroot}%{_datadir}/locale/ -name "*.po" -delete

Using -delete instead of -exec rm -rf {} \; no change functional nor speed. I see no reason to change this.

Comment 4 Zbigniew Jędrzejewski-Szmek 2016-01-11 13:25:15 UTC
(In reply to Maxim Orlov from comment #2)
> >Why do you create an empty configure script and then call it?
> 
> for Use configure:

I'm aware what %configure expands too. But creating ./configure during build
is unusual, so I'm asking what is reason for doing that (why do you need
to do it).

(In reply to Maxim Orlov from comment #3)
> >find %{buildroot}%{_datadir}/locale/ -name "*.po" -delete
> 
> Using -delete instead of -exec rm -rf {} \; no change functional nor speed.
> I see no reason to change this.

It's shorter and doesn't call an external program.

Comment 5 Package Review 2020-07-10 00:53:59 UTC
This is an automatic check from review-stats script.

This review request ticket hasn't been updated for some time. We're sorry
it is taking so long. If you're still interested in packaging this software
into Fedora repositories, please respond to this comment clearing the
NEEDINFO flag.

You may want to update the specfile and the src.rpm to the latest version
available and to propose a review swap on Fedora devel mailing list to increase
chances to have your package reviewed. If this is your first package and you
need a sponsor, you may want to post some informal reviews. Read more at
https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group.

Without any reply, this request will shortly be considered abandoned
and will be closed.
Thank you for your patience.

Comment 6 Package Review 2020-08-10 00:54:44 UTC
This is an automatic action taken by review-stats script.

The ticket submitter failed to clear the NEEDINFO flag in a month.
As per https://fedoraproject.org/wiki/Policy_for_stalled_package_reviews
we consider this ticket as DEADREVIEW and proceed to close it.