Accepting request 322868 from home:pluskalm:branches:Base:System
- Update project url - Use url for download - Add rcpesign symlink - Tiny spec file cleanup with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/322868 OBS-URL: https://build.opensuse.org/package/show/Base:System/pesign?expand=0&rev=34
This commit is contained in:
parent
4af6aa8c9f
commit
5595ee282c
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 14 07:45:31 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Update project url
|
||||
- Use url for download
|
||||
- Add rcpesign symlink
|
||||
- Tiny spec file cleanup with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 13 11:07:10 UTC 2015 - werner@suse.de
|
||||
|
||||
|
18
pesign.spec
18
pesign.spec
@ -22,8 +22,8 @@ Release: 0
|
||||
Summary: Signing tool for PE-COFF binaries
|
||||
License: GPL-2.0
|
||||
Group: Productivity/Security
|
||||
Url: https://github.com/vathpela/pesign
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Url: https://github.com/rhinstaller/pesign
|
||||
Source: https://github.com/rhinstaller/pesign/releases/download/%{version}/%{name}-%{version}.tar.bz2
|
||||
# PATCH-FIX-SUSE pesign-suse-build.patch glin@suse.com -- Adjust Makefile for the build service
|
||||
Patch1: pesign-suse-build.patch
|
||||
# PATCH-FIX-UPSTREAM pesign-fix-build-errors.patch glin@suse.com -- Fix gcc warnings
|
||||
@ -59,12 +59,6 @@ ExclusiveArch: ia64 %ix86 x86_64 aarch64
|
||||
Signing tool for PE-COFF binaries, hopefully at least vaguely compliant
|
||||
with the PE and Authenticode specifications.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Peter Jones <pjones@redhat.com>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
@ -82,12 +76,15 @@ Authors:
|
||||
make %{?_smp_mflags} OPTFLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
make INSTALLROOT=%{buildroot} PREFIX=/usr DOCDIR=/share/doc/packages install
|
||||
make INSTALLROOT=%{buildroot} PREFIX=%{_prefix} DOCDIR=/share/doc/packages install
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/pesign
|
||||
|
||||
mkdir -p %{buildroot}%{_sbindir}
|
||||
make INSTALLROOT=%{buildroot} UNITDIR=%{_unitdir} install_systemd
|
||||
|
||||
# create rcsymlink
|
||||
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
|
||||
# there's some stuff that's not really meant to be shipped yet
|
||||
rm -rf %{buildroot}/boot %{buildroot}%{_prefix}/include
|
||||
rm -rf %{buildroot}%{_libdir}/libdpe*
|
||||
@ -105,7 +102,7 @@ getent passwd pesign >/dev/null || useradd -r -g pesign -d %{_localstatedir}/lib
|
||||
systemd-tmpfiles --create %{_libexecdir}/tmpfiles.d/pesign.conf
|
||||
|
||||
%postun
|
||||
%service_del_preun pesign.service
|
||||
%service_del_postun pesign.service
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -116,6 +113,7 @@ systemd-tmpfiles --create %{_libexecdir}/tmpfiles.d/pesign.conf
|
||||
%{_bindir}/pesigcheck
|
||||
%{_bindir}/efisiglist
|
||||
%{_bindir}/authvar
|
||||
%{_sbindir}/rcpesign
|
||||
%dir %{_sysconfdir}/popt.d
|
||||
%config %{_sysconfdir}/popt.d/pesign.popt
|
||||
%{_sysconfdir}/pki/
|
||||
|
Loading…
Reference in New Issue
Block a user