[opensuse-buildservice] OBS ignoring entires in %files?
So I've got a package put together devel:cloverleaf:Consort consort-panel, and I'm ending up with what appears to be rpmbuild ignoring the %files section for the consort-panel.*.rpm package, and I have been bashing my head against my desk since last night trying to figure out why. I don't see any issues with the .spec file, but maybe I'm missing something. I've tried using hardlinks (/usr/share instead of %{_datadir}, for instance} but nothing seems to be making a difference. I'd be tickled pink if somebody could have a look at that specfile and tell me what I've got fscked up.....
On Fri, May 17, 2013 at 06:02:05AM -0700, Shawn W Dunn wrote:
So I've got a package put together devel:cloverleaf:Consort consort-panel, and I'm ending up with what appears to be rpmbuild ignoring the %files section for the consort-panel.*.rpm package, and I have been bashing my head against my desk since last night trying to figure out why. I don't see any issues with the .spec file, but maybe I'm missing something.
I've tried using hardlinks (/usr/share instead of %{_datadir}, for instance} but nothing seems to be making a difference.
I'd be tickled pink if somebody could have a look at that specfile and tell me what I've got fscked up.....
I think you need to specify BuildRoot: %{_tmppath}/%{name}-%{version}-build In the header. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Friday 17 May 2013 15:17:54 you wrote:
On Fri, May 17, 2013 at 06:02:05AM -0700, Shawn W Dunn wrote:
So I've got a package put together devel:cloverleaf:Consort consort-panel, and I'm ending up with what appears to be rpmbuild ignoring the %files section for the consort-panel.*.rpm package, and I have been bashing my head against my desk since last night trying to figure out why. I don't see any issues with the .spec file, but maybe I'm missing something.
I've tried using hardlinks (/usr/share instead of %{_datadir}, for instance} but nothing seems to be making a difference.
I'd be tickled pink if somebody could have a look at that specfile and tell me what I've got fscked up.....
I think you need to specify
BuildRoot: %{_tmppath}/%{name}-%{version}-build
In the header.
Ciao, Marcus
Nope, just tried that, still getting the same "Installed but Unpackaged" error...
On 05/17/2013 03:22 PM, Shawn W Dunn wrote:
On Friday 17 May 2013 15:17:54 you wrote:
On Fri, May 17, 2013 at 06:02:05AM -0700, Shawn W Dunn wrote:
So I've got a package put together devel:cloverleaf:Consort consort-panel, and I'm ending up with what appears to be rpmbuild ignoring the %files section for the consort-panel.*.rpm package, and I have been bashing my head against my desk since last night trying to figure out why. I don't see any issues with the .spec file, but maybe I'm missing something.
I've tried using hardlinks (/usr/share instead of %{_datadir}, for instance} but nothing seems to be making a difference.
I'd be tickled pink if somebody could have a look at that specfile and tell me what I've got fscked up.....
I think you need to specify
BuildRoot: %{_tmppath}/%{name}-%{version}-build
In the header.
Ciao, Marcus
Nope, just tried that, still getting the same "Installed but Unpackaged" error...
Please add that line to the spec file and let us check the results again. I guess it will look different - and then we might be able to help better ;) Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
I think you need to specify
BuildRoot: %{_tmppath}/%{name}-%{version}-build
In the header.
Ciao, Marcus
Nope, just tried that, still getting the same "Installed but Unpackaged" error...
Please add that line to the spec file and let us check the results again. I guess it will look different - and then we might be able to help better ;)
The result is the same. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 05/17/2013 03:28 PM, Jan Engelhardt wrote:
I think you need to specify
BuildRoot: %{_tmppath}/%{name}-%{version}-build
In the header.
Ciao, Marcus
Nope, just tried that, still getting the same "Installed but Unpackaged" error...
Please add that line to the spec file and let us check the results again. I guess it will look different - and then we might be able to help better ;)
The result is the same.
I just branched the package myself and I'm as puzzled, the files sections seem to be ignored completely. This is really odd. RPM Gurus, any ideas? Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Friday 17 May 2013 15:27:47 Andreas Jaeger wrote:
On 05/17/2013 03:22 PM, Shawn W Dunn wrote:
On Friday 17 May 2013 15:17:54 you wrote:
On Fri, May 17, 2013 at 06:02:05AM -0700, Shawn W Dunn wrote:
So I've got a package put together devel:cloverleaf:Consort consort-panel, and I'm ending up with what appears to be rpmbuild ignoring the %files section for the consort-panel.*.rpm package, and I have been bashing my head against my desk since last night trying to figure out why. I don't see any issues with the .spec file, but maybe I'm missing something.
I've tried using hardlinks (/usr/share instead of %{_datadir}, for instance} but nothing seems to be making a difference.
I'd be tickled pink if somebody could have a look at that specfile and tell me what I've got fscked up.....
I think you need to specify
BuildRoot: %{_tmppath}/%{name}-%{version}-build
In the header.
Ciao, Marcus
Nope, just tried that, still getting the same "Installed but Unpackaged" error...
Please add that line to the spec file and let us check the results again. I guess it will look different - and then we might be able to help better ;)
Andreas
Done, OBS is attempting a build right now....
Quoting Shawn W Dunn <sfalken@fuduntu.org>:
So I've got a package put together devel:cloverleaf:Consort consort-panel, and I'm ending up with what appears to be rpmbuild ignoring the %files section for the consort-panel.*.rpm package, and I have been bashing my head against my desk since last night trying to figure out why. I don't see any issues with the .spec file, but maybe I'm missing something.
I've tried using hardlinks (/usr/share instead of %{_datadir}, for instance} but nothing seems to be making a difference.
I'd be tickled pink if somebody could have a look at that specfile and tell me what I've got fscked up.....
Simple issue: You overwrite the files section of your main package: %files %defattr(-,root,root) [ a long list of files ] %files -f consort-panel-3.0.lang %defattr (- ,root,root) => this redefines the %files section for the main package... this was supposed to be: %files lang -f consort-panel-3.0.lang %defattr (- ,root,root) And then you should have more luck with your package. Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Friday 17 May 2013 15:33:26 Dominique Leuenberger a.k.a. Dimstar wrote:
Quoting Shawn W Dunn <sfalken@fuduntu.org>:
So I've got a package put together devel:cloverleaf:Consort consort-panel, and I'm ending up with what appears to be rpmbuild ignoring the %files section for the consort-panel.*.rpm package, and I have been bashing my head against my desk since last night trying to figure out why. I don't see any issues with the .spec file, but maybe I'm missing something.
I've tried using hardlinks (/usr/share instead of %{_datadir}, for instance} but nothing seems to be making a difference.
I'd be tickled pink if somebody could have a look at that specfile and tell me
what I've got fscked up.....
Simple issue:
You overwrite the files section of your main package:
%files %defattr(-,root,root) [ a long list of files ]
%files -f consort-panel-3.0.lang %defattr (- ,root,root)
=> this redefines the %files section for the main package...
this was supposed to be:
%files lang -f consort-panel-3.0.lang %defattr (- ,root,root)
And then you should have more luck with your package.
Dominique
*facepalm* Thanks Dominique. I can't believe I missed that.
participants (5)
-
Andreas Jaeger
-
Dominique Leuenberger a.k.a. Dimstar
-
Jan Engelhardt
-
Marcus Meissner
-
Shawn W Dunn