rpmbuild errors using stunnel.spec

"Wiest, Damian" <[email protected]>
Newsgroups gmane.network.stunnel.user
Message-ID <CAPGmukRk7MpQ5Wk6y7qdc_dmnao88L9cimJdiFpuoFAqrHSMrQ@mail.gmail.com>
I noticed a few issues with the stunnel.spec file included with the
distribution that I wanted to report.
I'm building on an Amazon Linux host.

There appears to be a bad date entry in the changelog section,
warning: bogus date in %changelog: Sun Jun 24 2000 Brian Hatch <[email protected]>

Sunday is the 25th?

The stunnel.init and stunnel.logrotate files are being installed from
the rpmbuild/SOURCES/ directory and not
rpmbuild/BUILD/stunnel-5.37/tools/.  Copying the files from the build
area and retrying resolves this.

stunnel.spec:Source1:        %{name}.init
stunnel.spec:Source2:        %{name}.logrotate
...
stunnel.spec:%{__install} -p -m0755 %{SOURCE1}
$RPM_BUILD_ROOT%{_initrddir}/%{name}
stunnel.spec:%{__install} -p -m0644 %{SOURCE2}
$RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name}

+ /usr/bin/install -p -m0755
/home/ec2-user/rpmbuild/SOURCES/stunnel.init
/home/ec2-user/rpmbuild/BUILDROOT/stunnel-5.37-1.amzn1.x86_64/etc/rc.d/init.d/stunnel
/usr/bin/install: cannot stat
'/home/ec2-user/rpmbuild/SOURCES/stunnel.init': No such file or
directory

+ /usr/bin/install -p -m0644
/home/ec2-user/rpmbuild/SOURCES/stunnel.logrotate
/home/ec2-user/rpmbuild/BUILDROOT/stunnel-5.37-1.amzn1.x86_64/etc/logrotate.d/stunnel
/usr/bin/install: cannot stat
'/home/ec2-user/rpmbuild/SOURCES/stunnel.logrotate': No such file or
directory

rpmbuild also complains that the files under /usr/share/doc/stunnel/
are unpackaged.
I added %{_docdir}/* at the end of the files section to correct this.

-Damian

-- 


Confidentiality Notice: This e-mail transmission may contain confidential 
or legally privileged information that is intended only for the individual 
or entity named in the e-mail address. If you have received this 
communication in error, please notify me by return e-mail, and destroy this 
communication and all copies thereof, including any attachments. 

Apervita ® is a registered trademark of Apervita Inc.

 
_______________________________________________
stunnel-users mailing list
[email protected]
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.