Autogen *did not* run configure by default.  I have no clue as to why.  In
the build log without the added configure line, it clearly shows that it
runs 'autogen' and then goes directly to 'make' without running configure.
 I wouldn't have added the configure call into the macro it had called it.
 Actually, if autogen was running it the way it should, the build log
would show a call to configure twice (since I added an explicit call) but
it doesn't.

I'd rather not be doing anything special with this package, but there was
no other way to fix this.  I'm happy to entertain other viable solutions
if you have any to propose.  Also, before I submitted these packages, both
Rolla and Chris reviewed the packages and neither one mentioned the
configure issue.

Ryan

PS: Instead of responding to both threads, just respond to this one.


On 12/1/10 1:42 AM, "Zhu, Peter J" <[email protected]> wrote:

>Doesn't autogen here run configure by default? Please set bug status to
>Resolved if this is the only package to support that feature.
>
>Peter
>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of rrware
>> Sent: Wednesday, December 01, 2010 8:43 AM
>> To: [email protected]
>> Subject: [meego-commits] 10448: New package Trunk:Testing/aegis-certman
>> 
>> Hi,
>> Adding new package aegis-certman in project Trunk:Testing. Please
>>review and
>> accept ASAP.
>> 
>> Justification for this new package:
>> 
>> Initial submission of aegis-crypto package to Trunk to support FEA#9419.
>> 
>> Thank You,
>> rrware
>> 
>> [This message was auto-generated]
>> 
>> ---
>> 
>> Request #10448:
>> 
>>   submit:   devel:security/aegis-certman(r3)(update) ->
>> Trunk:Testing/aegis-certman
>> 
>> 
>> Message:
>>     Initial submission of aegis-crypto package to Trunk to support
>>FEA#9419.
>> 
>> State:   new          2010-11-30T16:43:10 rrware
>> Comment: None
>> 
>> 
>> This is a NEW package in Trunk:Testing project.
>> The files in the new package:
>> aegis-certman/
>>   |__  aegis-certman-1.0.tar.bz2
>>   |__  aegis-certman.changes
>>   |__  aegis-certman.spec
>>   |__  aegis-certman.yaml
>> 
>> The content of the YAML file, aegis-certman.yaml:
>> ================================================================
>> ===
>> Name: aegis-certman
>> Summary: Aegis certificate manager
>> Version: 1.0
>> Release: 1
>> Group: System/Base
>> License: LGPLv2
>> URL: http://meego.gitorious.org/meego-platform-security
>> Sources:
>>     - aegis-certman-%{version}.tar.bz2
>> Description: |
>>     This is the Aegis certificate manager
>> 
>> PkgBR:
>>     - doxygen
>>     - expat-devel
>> PkgConfigBR:
>>     - openssl
>>     - aegis-crypto
>>     - nss
>>     - dbus-1
>> Configure: autogen
>> SubPackages:
>>     - Name: devel
>>       Summary: Development files for aegis-crypto tools
>>       Group: Development/Libraries
>> ================================================================
>> ===
>> 
>> 
>> The content of the spec file, aegis-certman.spec:
>> ================================================================
>> ===
>> #
>> # Do not Edit! Generated by:
>> # spectacle version 0.18
>> #
>> # >> macros
>> # << macros
>> 
>> Name:       aegis-certman
>> Summary:    Aegis certificate manager
>> Version:    1.0
>> Release:    1
>> Group:      System/Base
>> License:    LGPLv2
>> URL:        http://meego.gitorious.org/meego-platform-security
>> Source0:    aegis-certman-%{version}.tar.bz2
>> Source100:  aegis-certman.yaml
>> BuildRequires:  pkgconfig(openssl)
>> BuildRequires:  pkgconfig(aegis-crypto)
>> BuildRequires:  pkgconfig(nss)
>> BuildRequires:  pkgconfig(dbus-1)
>> BuildRequires:  doxygen
>> BuildRequires:  expat-devel
>> 
>> 
>> %description
>> This is the Aegis certificate manager
>> 
>> 
>> 
>> %package devel
>> Summary:    Development files for aegis-crypto tools
>> Group:      Development/Libraries
>> Requires:   %{name} = %{version}-%{release}
>> 
>> %description devel
>> Description: %{summary}
>> 
>> 
>> %prep
>> %setup -q -n %{name}-%{version}
>> 
>> # >> setup
>> # << setup
>> 
>> %build
>> # >> build pre
>> # << build pre
>> 
>> %autogen --disable-static
>> ./configure --with-nss=yes --prefix=%{_prefix}
>> make %{?jobs:-j%jobs}
>> 
>> # >> build post
>> # << build post
>> %install
>> rm -rf %{buildroot}
>> # >> install pre
>> # << install pre
>> %make_install
>> 
>> # >> install post
>> %clean
>> %post -p /sbin/ldconfig
>> %postun -p /sbin/ldconfig
>> # << install post
>> 
>> %files
>> %defattr(-,root,root,-)
>> # >> files
>> %{_bindir}/acmcli
>> %{_bindir}/ansscfg
>> %{_libdir}/libaegis_certman.so.0
>> %{_libdir}/libaegis_certman.so.0.0.0
>> # << files
>> 
>> 
>> %files devel
>> %defattr(-,root,root,-)
>> # >> files devel
>> %{_includedir}/aegis_certman.h
>> %{_libdir}/libaegis_certman.so
>> %{_libdir}/pkgconfig/aegis-certman.pc
>> # << files devel
>> 
>> 
>> ================================================================
>> ===
>> 
>> _______________________________________________
>> MeeGo-commits mailing list
>> [email protected]
>> http://lists.meego.com/listinfo/meego-commits

_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging

Reply via email to